dateformat(dateadd("m",-1,now()),"mmmm yyyy")

Jerry Johnson

>>> [EMAIL PROTECTED] 09/03/02 06:42PM >>>
Hi there. I am trying to find out what this month minus one is.

I used DateFormat(Now()-30, "mmmm yyyy") and it works ok, but I worry
that on certain days it wont work. Is there a way to subtract a month
from Now() instead of subtracting days?

TIA (I love this list by the way)

Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org 

 
[EMAIL PROTECTED] 

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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