Question
Time not updating in CF
I was under the impression that the Now() function retrieved
the date/time from the server running coldfusion, but that doesn't
seem to be the case. Ever since the time change my server shows for
example: 1:40pm but when I look at the output of the Now() function
I'm getting 12:40pm. The server has the correct time.
Any ideas on how to fix this? I've tried recycling CF and IIS, but nothing.
Here's my code I'm using to validate.
<cfoutput>Date/Time Loaded: #DateFormat(Now(),"mmm dd yy")# #TimeFormat(Now(),"HH:mm")#</cfoutput>
Any ideas on how to fix this? I've tried recycling CF and IIS, but nothing.
Here's my code I'm using to validate.
<cfoutput>Date/Time Loaded: #DateFormat(Now(),"mmm dd yy")# #TimeFormat(Now(),"HH:mm")#</cfoutput>