Quote:
should i approach it differently like a csv file.
There is no different approaches, it is a mathematical problem, you only need to get the data by whatever mean you want. A csv file will not be simpler than TextBox, the only reason to choose one or the other us if lunch time change or not.
The work time is from Shift.begin to Lunch.begin and from Lunch.end to Shift.end. There shouldn't be any difficulties here.
Explain your problem of something is not clear for you.
[Update]
Quote:
have not seen a straight forward solution to subtract the times
First solution: you use DateTime variables that will handle details for you.
Second solution: you do it yourself. The digits on left of ":" are hours, the digits on right are minutes. Transform to minutes (1 hour= 60 minutes) a,d then subtract.