A quick and easy way to get the last day of the current month is by subtracting 1 from the first day of the next month. For example,

<cfset dStartDate = createDate(year(now()), month(now()), 1 ) />

<cfset dEndDate = dateAdd('d', -1, dateAdd('m', 1, dStartDate )) />

Post a Comment

*
*