<CFSET yesterday = #DateFormat(DateAdd('D',-1,Now()),"mmm dd, yyyy")#>

<CFOUTPUT>Yesterday was #Yesterday#</CFOUTPUT>

Larry Juncker
Senior Cold Fusion Developer
Heartland Communications Group, Inc.


-----Original Message-----
From: monika kon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 10:03 AM
To: CF-Talk
Subject: Previous date


Hi !
Can any one please tell me how can I display the
previous date. For example if today is '03/21/01' then
I have to display '03/20/01'. Is there any function
which I can use.

Shally
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to