To determine the ordinal (day number, in the year).
<cfset Date = CreateDate(2012, 12, 12)>
<cfset result = firstDayOfMonth(Date)>
<cfoutput>#result#</cfoutput>
Expected Result: 336
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.