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()
<cfscript>
myDatetime = Now();
writeOutput(myDatetime);
</cfscript>
Output
{ts '2018-11-06 06:59:52'}
Sign in to your account