Now() is server time. All CFML functions execute on the server, not the
client.

--- Ben


-----Original Message-----
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 31, 2002 6:54 PM
To: CF-Talk
Subject: is NOW() the time at the server, or time at the browser?


Thursday, January 31, 2002, 6:51:15 PM
Hello all,


I need to make an ifthen statement based on time. If it is before
6:00am, then go here, else go here.

But it needs to be the time at the server. If I use NOW(), what the heck
time is that?? Server time, or browser time?


   <CFSET today = Dateformat(Now(), " dddd mmmm")>


Best regards,
 Jeff Fongemie                          mailto:[EMAIL PROTECTED]

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to