MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference page 352

Cfml language reference
Table of Contents

Advertisement

328
<P>Using datepart, we can extract an integer representing
the various dateparts from that value
<CFOUTPUT>
<UL>
<LI>year: #DatePart("yyyy", todayDate)#
<LI>quarter: #DatePart("q", todayDate)#
<LI>month: #DatePart("m", todayDate)#
<LI>day of year: #DatePart("y", todayDate)#
<LI>day: #DatePart("d", todayDate)#
<LI>weekday: #DatePart("w", todayDate)#
<LI>week: #DatePart("ww", todayDate)#
<LI>hour: #DatePart("h", todayDate)#
<LI>minute: #DatePart("n", todayDate)#
<LI>second: #DatePart("s", todayDate)#
</UL>
</CFOUTPUT>
</BODY>
</HTML>
CFML Language Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 4.5

Table of Contents