Now

Returns the current date and time as a valid date time object.

See also CreateDateTime and DatePart.

Syntax

Now()

Examples

<!--- This example shows Now() --->
<HTML>
<HEAD>
<TITLE>Now Example</TITLE>
</HEAD>

<BODY>
<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>

</BODY>
</HTML>       



1