07.05.2017, 06:32
For such long period(16hours) sometimes you must also consider the time shift. For this you can use:
Code:
-- is daylight saving time?
isdst = os.date('*t').isdst