The CF date functions make this kind of stuff really, really easy.

I made a calendar app a few months ago to pass the time while waiting for a
contract with eCal to be signed. It ended up being far better than eCal's
app, but we didn't really need a calendar in the end. If I remember, the
most difficult thing was figuring out how to deal with months that start on
Friday, months with 29 days, etc... which wasn't really too bad. ;)

Some useful functions:

CreateDate(year, month, day)
FirstDayOfMonth(date)
DaysInMonth(date)
DateAdd(datepart, number, date)

Ed

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to