Name
Now
Synopsis
Now( )
Returns the current server time and date as a time/date object in the
format {ts 'yyyy-mm-dd HH:MM:SS'}
. Example:
<CFOUTPUT> Today is #DateFormat(Now( ),'dddd mmmm dd, yyyy')#.<BR> It is currently #TimeFormat(Now( ),'hh:mm tt')#. </CFOUTPUT>
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.