I am setting up a SHIFT run-time calculator.
Currently, I have a Panelview with START/END times setup that the operator can change (if needed)
like :
Shift Start: 07:30 Shift End: 15:30
Break1 Start : 08:00 Break1 End: 08:20
the Hour and Minutes are 24 hours format and separate tags.
(i.e..ShiftStartHour, ShiftStartMin and Break1Start, Break1End)
Is there an easy method to calculate the elapsed time for a given item?
Like:
Shift Total Run Time would be : 8 hours (or, I could take it in Seconds.......)
Break1 Time would be 20 minutes....)or, I could take it in seconds...)
either way, I was hoping somebody had a quick(dirty) way of doing this!!
: P
Currently, I have a Panelview with START/END times setup that the operator can change (if needed)
like :
Shift Start: 07:30 Shift End: 15:30
Break1 Start : 08:00 Break1 End: 08:20
the Hour and Minutes are 24 hours format and separate tags.
(i.e..ShiftStartHour, ShiftStartMin and Break1Start, Break1End)
Is there an easy method to calculate the elapsed time for a given item?
Like:
Shift Total Run Time would be : 8 hours (or, I could take it in Seconds.......)
Break1 Time would be 20 minutes....)or, I could take it in seconds...)
either way, I was hoping somebody had a quick(dirty) way of doing this!!
: P