Uses the day function to determine the day of the month
<cfset Date = CreateDate(2010, 09, 08)>
<cfset result = day(Date)>
<cfoutput>#result#</cfoutput>
Expected Result: 8
Returns the day from a datetime object
createDate( 2022, 10, 1 ).day();
Expected Result: 1
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.