ColdFusion Tutorial
Displaying the server time
Here we use the DateFormat function:
Follow this link for more examples about the DateFormat function.
Day of week - Month - Day - Year
Code:
<cfset today = DateFormat(Now(), "dddd, mmmm d, yyyy")>
[Server time]:<cfoutput>#today#</cfoutput>.
ColdFusion Tutorial test
Displaying the server time
This will dislpay:
[Server Time] Wednesday, November 19, 2008
No User Comments.
No User Comments, be the first one to write your comments?
