I think this code have an issue:
startstamp,stopstamp,daystart_h,dayend_h,deltastamp
1508509203,1508924839,8,18,5236
My local time is GMT+3
And we have two time delta in local time:
Start 2017-10-20 17:20:03 GMT+3 1508924839 UTC
Stop 2017-10-25 12:47:19 GMT+3 1508509203 UTC
Our work day starts in 8 and ends in 18.
Following code returns work hours: 5236 in seconds...
Can you help us?
... View more