function eom(date) {
        return createDate(year(date),month(date),daysInMonth(date));
}

---
Billy Cravens


-----Original Message-----
From: Perez, Percy [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 23, 2002 10:33 AM
To: CF-Talk
Subject: end of month function

Hello all,

Is there a End of month function in ColdFusion...
I am trying to get the end of month for a date.
excel has one, but I could not find one under the help files.
eg: 
eomonth(1-15-2002) would return 1-31-2002
and of course, before I build one, I figure I ask first.

Thanks

Percy E Perez



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to