Internal timezone conversion
-
Hello,
Thank you for a great plugin!
I’m having issues with timezone conversion in a shared environment.
My host has set their system to an offset of -6 so Mysql is storing date_recorded, date_updated, etc. fields in Denver time from the plugin.Would you consider using the get_option(‘gmt_offset’) and date_default_timezone_set() functions to control the offset or explicitly store it in UTC time if that would help.
Right now MySQL-> SELECT NOW() returns ‘2013-08-26 16:04:07’, which is the date values.
my local time is ‘2013-08-26 18:04:07’
UTC time is ‘2013-08-26 22:04:07’
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Internal timezone conversion’ is closed to new replies.