Hello I am new with datetimes in VB net and I am trying to calculate time for some operations in productions. For example:
starTtime="01.12.2018 07:00"
endTime ="01.12.2018 15:00"
I have example two periods without working:
Pause1Start="01.12.2018 10:00" Pause1Stop="01.12.2018 10:30"
Pause2Start="01.12.2018 14:00" Pause2Stop="01.12.2018 14:30"
How to calculate used time for operation? It is not always this example, it is necessary to check is time for pause is included between two datetime or if there is end of working day, weekends, etc... So operation can start in one day and finish day after.
I need idea how to work with this?
Thanks