superslurpee
Programmer
- May 15, 2002
- 108
Hi,
I'm having a bit of trouble with dates. My server is at GMT while my store is in the central time zone in Canada. During daylight savings time, we are GMT-5 and GMT-6 when not.
How do I account for these changes when outputting the date and time? I was just hardcoding a subtraction of 5 or 6 hours but this hardly practical.
Any help is appreciated!
I'm having a bit of trouble with dates. My server is at GMT while my store is in the central time zone in Canada. During daylight savings time, we are GMT-5 and GMT-6 when not.
How do I account for these changes when outputting the date and time? I was just hardcoding a subtraction of 5 or 6 hours but this hardly practical.
Any help is appreciated!