| Contents > CFML Reference > ColdFusion Functions > Now |
|
|
|
|
||
Gets the current date and time of the computer running the ColdFusion server. The return value can be passed as a parameter to date functions such as DaysInYear or FirstDayOfMonth.
A date/time object; the current date and time of the computer running the ColdFusion server.
Now()
<h3>Now Example</h3> <p>Now returns the current date and time as a valid date/time object. <p>The current date/time value is <cfoutput>#Now()#</cfoutput> <p>You can also represent this as <cfoutput>#DateFormat(Now())#, #TimeFormat(Now())#</cfoutput>
|
|
||
| Contents > CFML Reference > ColdFusion Functions > Now |
|
|
ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa47.htm
Comments
No screen name said on Aug 20, 2003 at 1:12 AM : SMooTHG said on Oct 10, 2004 at 6:58 PM :