Coldfusion China
zigine
2004.7.11
Http://www.cfmchina.com
--->
Date format function
Title>
HEAD>
DateFormat () Date Format Function Example By cfmchina.com: h2>
# Mydatevariable #
#Dateformat ("# mydatevariable #") #
#Dateformat ("# mydatevariable #", "DDDD, DD MMMM - YYYY) #
#Dateformat ("# mydatevariable #", "mmmm") #
Other formats:
#LSDateFormat (now (), "mm / dd / yyyy") #
#LsdateFormat (now (), "D-mmm-yyyy") #
#LsdateFormat (now (), "DDD, MMMM DD, YYYY") #
#LsdateFormat (now (), "D / M / YY") #
#LsdateFormat (now ()) #
cfoutput>
Body>
Html>