Calculate Daylight Saving Time

tm, isdst = time.calcdst(tm)

Calculate DST. Pass the epoch time (seconds since 1970-01-01) and this returns the time and whether DST.

Parameter Type Description
tm integer UNIX time
Returns Type Description
tm integer UNIX time
isdst boolean True if daylight saving