Welcome Guest, Not a member yet? Register   Sign In
now() is not always gmdate
#2

[eluser]Clooner[/eluser]
[quote author="qwang" date="1282069329"]i use date hlper's now() function to generate a gmt date
but i found under different environment
the time is not always gmt date

my test evn is using xampp under windows, and now() returns gmt date
but under my server which is linux, now() returns server time

so anyone meets this problem, and how did you do to solve this
thank you[/quote]afaik now() won't return gmt by default. You will have to enable it in the config file and it has to be correctly configured in the server


Messages In This Thread
now() is not always gmdate - by El Forum - 08-17-2010, 07:22 AM
now() is not always gmdate - by El Forum - 08-17-2010, 07:32 AM
now() is not always gmdate - by El Forum - 08-17-2010, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB