View Single Post
Unread 10/25/2013, 10:39 AM   #62
d0ughb0y
Registered Member
 
d0ughb0y's Avatar
 
Join Date: Mar 2008
Location: sf bay area
Posts: 5,165
That is correct.
#define STDTZOFFSET -8L
is my local (Pacific Time in California) timezone, Standard Time.

If your standard time offset is +8, just use
#define STDTZOFFSET 8

The current code has calculation for daylight savings time switch, which will occur next in US on November 3.

I will update the code later with a new #define AUTODST so you can comment that out if your location does not use daylight savings time.

check github later for my update.


d0ughb0y is offline   Reply With Quote