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
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
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
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?
>
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
#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,
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
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!
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
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
-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
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
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
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 !
>
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
#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
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
~~~
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
+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
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
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
> 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()
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
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
24 matches
Mail list logo