Its actually very easy

#DaysInMonth(now())# will return the number of days in the month.

The first day is even easy, its always 1!!

So you can do #01/#Month(now())#/#Year(Now())#





Regards
Andrew Scott
Technical Consultant

NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9686 0485  -  Fax: 03 9699 7976

-----Original Message-----
From: Torrent Girl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 19 May 2005 3:13 PM
To: CF-Newbie
Subject: HELP (ASAP!!)

Can anyone please give me an example of how to calculate the first and
last day of the previous month in CF?

TGirl


P.S. Please include examples (with syntax)



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:976
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to