rackem
Well-Known Member
It looks like the default date_time element is not storing UTC time.
I have a list where I use Fabrik to enter some records and also manually create some using the Form PHP Plugin. In the plugin, I use the mySQL function UTC_TIMESTAMP().
Right now, my local time is about 6 AM CDT (GMT-5).
If I enter a record through Fabrik I get: 2013-07-30 16:00:00
If I use UTC_TIMESTAMP(): 2013-07-30 11:00:00
So it looks like instead of UTC, Fabrik is storing local time with an opposite timezone offset.
I have a list where I use Fabrik to enter some records and also manually create some using the Form PHP Plugin. In the plugin, I use the mySQL function UTC_TIMESTAMP().
Right now, my local time is about 6 AM CDT (GMT-5).
If I enter a record through Fabrik I get: 2013-07-30 16:00:00
If I use UTC_TIMESTAMP(): 2013-07-30 11:00:00
So it looks like instead of UTC, Fabrik is storing local time with an opposite timezone offset.