This content has been marked as final. Show 3 replies
> I am have a perplexing issue and cannot seem to find any discussion on the
> internet about it. I have a simple field that is populated via the Now()
> command. However, it is exactly 4 hours ahead of my system time. Does anyone
> know how to resolve this?
check the cf server's timezone (tz).
It turns out that in CFMX 6.1 and later, the CF Server uses the timezone information from the JRE, so by updating my old version of 1.4.2_9 to 1.4.2_14, it works fine. Thanks for the suggestion though!
I'm having this issue too. My only thought is to set a variable in the application.cfc to REQUEST.now = now() + 2 hours (of course this would have to be set via whatever timezone the client is in) and use that variable wherever I use the now() function.
Is there a way to check client time reference, or the next best thing, setting it to wherever the business location timezone is.