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?

Add your comments

Your Name*:
Your Email:
Site URL:
Site Name:
Comemt Title*:
Your Comment*:
Key Phrase*:
7jG
Your IP Address: 38.103.63.62
 

ScandicWeb is own by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.

[Home [Site Map [Privacy Statement [Site Feedback] [About ScandicWeb]


[ColdFusion [Flash [Search Engine Optimization [Graphics [Cascading Style Sheets (CSS) [JavaScript (JS) [Software]

Partner sites: ScandicSoft


Server time: 19. November 2008 Wednesday