RE: previous date

2007-02-01 Thread Orlini, Robert
Thanks all. Fixed! -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 11:50 AM To: CF-Talk Subject:RE: previous date You want #DateFormat(Now()-1, "dd")# -Original Message- From: Orlini, Robert [mai

Re: previous date

2007-02-01 Thread Dan Vega
Jacob is right, you want to use dateAdd here On 2/1/07, Jacob Munson <[EMAIL PROTECTED]> wrote: > > Use DateAdd > > On 2/1/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > > I using #DateFormat(Now(),"dd")-1# to get a previous date. However, > using

RE: previous date

2007-02-01 Thread Ben Forta
You want #DateFormat(Now()-1, "dd")# -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 11:45 AM To: CF-Talk Subject: previous date I using #DateFormat(Now(),"dd")-1# to get a previous date. However, using it t

Re: previous date

2007-02-01 Thread Jim Wright
Orlini, Robert wrote: > I using #DateFormat(Now(),"dd")-1# to get a previous date. However, using it > today it gives me the previous date of 0 as opposed to 31. > > How do I get it to generate the previous date as the 31st as opposed to 0? >

Re: previous date

2007-02-01 Thread Charlie Griefer
dateAdd('d', -1, now()) day(dateAdd('d', -1, now())) On 2/1/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > I using #DateFormat(Now(),"dd")-1# to get a previous date. However, using it > today it gives me the previous date of 0 as opposed to 31. > &g

RE: previous date

2007-02-01 Thread Porter, Benjamin L.
#DateFormat(DateAdd("d",-1,Now()),"dd")# -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 10:45 AM To: CF-Talk Subject: previous date I using #DateFormat(Now(),"dd")-1# to get a previous date. However,

Re: previous date

2007-02-01 Thread Jacob Munson
Use DateAdd On 2/1/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > I using #DateFormat(Now(),"dd")-1# to get a previous date. However, using it > today it gives me the previous date of 0 as opposed to 31. > > How do I get it to generate the previous date as the 3

previous date

2007-02-01 Thread Orlini, Robert
I using #DateFormat(Now(),"dd")-1# to get a previous date. However, using it today it gives me the previous date of 0 as opposed to 31. How do I get it to generate the previous date as the 31st as opposed to 0? I'm still new as to understanding this. Thanks!

RE: Previous date

2001-03-22 Thread Larry Juncker
Yesterday was #Yesterday# 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

RE: Previous date

2001-03-21 Thread Caulfield, Michael
i think #CreateODBCDate(decrementValue(Now()))# works. -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

RE: Previous date

2001-03-21 Thread Sicular, Alexander
-Original Message- > From: monika kon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 21, 2001 11: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&#x

Re: [Previous date]

2001-03-21 Thread Alex
dateadd() -1 for day monika kon <[EMAIL PROTECTED]> wrote: 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

RE: Previous date

2001-03-21 Thread Ledwith, Brian
Shally, Use: dateformat(NOW()-1,"MM/DD/YY") ~bgl -Original Message- From: monika kon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 11: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 to

Re: Previous date

2001-03-21 Thread Tim Painter
This should do it: #DateFormat((Now()-1), "mm/dd/")# Tim P. - Original Message - From: "monika kon" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 11:03 AM Subject: Previous date > Hi ! >

RE: Previous date

2001-03-21 Thread Ruben Chadien
Use DateAdd() Then you could use dateFormat() to format the date /Ruben Chadien -Original Message- From: monika kon [mailto:[EMAIL PROTECTED]] Sent: den 21 mars 2001 17:03 To: CF-Talk Subject: Previous date Hi ! Can any one please tell me how can I display the previous date. For

Re: Previous date

2001-03-21 Thread Michael Murry
#DateAdd('d', -1, 03/20/01)# The key is the negative number which makes DateAdd do a DateSubtract. - Original Message - From: "monika kon" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 10:03 AM Subject: P

RE: Previous date

2001-03-21 Thread James Maltby
01 16:03 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 ~~~

RE: Previous date

2001-03-21 Thread Clifton . Reichle
Yes, DateAdd("d",-1,Now()) or replace Now() with an valid date. -Original Message- From: monika kon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 10:03 To: CF-Talk Subject: Previous date Hi ! Can any one please tell me how can I display the previous date. For

RE: Previous date

2001-03-21 Thread Andy Ewings
+44 (0)207 387 8890. -Original Message- From: monika kon [mailto:[EMAIL PROTECTED]] Sent: 21 March 2001 16:03 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 

Re: Previous date

2001-03-21 Thread Greg Wolfinger
Dateformat(Now(), "mm/dd/yy") - 1 - Original Message - From: "monika kon" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 11:03 AM Subject: Previous date > Hi ! > Can any one please tell me how can I d

Re: Previous date

2001-03-21 Thread W Luke
ka kon" <[EMAIL PROTECTED]> Newsgroups: dotcom.lists.cftalk Sent: Wednesday, March 21, 2001 4:37 PM 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 &#x

RE: Previous date

2001-03-21 Thread Aidan Whitehall
> 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. DateFormat(DateAdd("d", -1, CreateDate(Year(Now()), Month(Now()

RE: Previous date

2001-03-21 Thread Jason Lees (National Express)
use the function CreateTimeSpan Yesterday=DateFormat(Now()-CreatetimeSpan(1,0,0,0),"MM/DD/YY") Jason Lees National Express Email : [EMAIL PROTECTED] -Original Message- From: monika kon [mailto:[EMAIL PROTECTED]] Sent: 21 March 2001 16:03 To: CF-Talk Subject: Previous

Previous date

2001-03-21 Thread monika kon
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 w