Re: Adding 90 minutes to Now()

2001-04-24 Thread Dave f

 #DateAdd('n',90,Now())#

- Original Message -
From: "Ben Dyer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 11:32 AM
Subject: Adding 90 minutes to Now()


> I'm not sure how to do this:
>
> How do I find the value of ninety minutes from now?
>
> #DateAdd('h',1.5,Now())#
> Returns one hour from now (I'm guessing CF just rounds the non-integer
down
> to the next integer.
>
> #DateAdd('m',90,Now())#
> Returns ninety months from now (October 2008).
>
> #DateAdd('mm',90,Now())#
> Returns an error.
>
> Any thoughts?
>
> --Ben
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Ben Dyer
> Senior Internet Developer
> Imaginuity Interactive
> http://www.imaginuity.com
> -=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>
~~
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



RE: Adding 90 minutes to Now()

2001-04-24 Thread Matt Eschenbaum

'N', is the datepart for minutes.

Sincerely,

Matthew M. Eschenbaum
Allaire Certified Professional
DevTech Inc.
[EMAIL PROTECTED]
206.956.0888
www.dev-tech.com



-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 8:33 AM
To: CF-Talk
Subject: Adding 90 minutes to Now()


I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down 
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
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



RE: Adding 90 minutes to Now()

2001-04-24 Thread Jones, Matt

"N" or "n"
#DateAdd('n', 90, Now())#
n specifies minutes

-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 10:33 AM
To: CF-Talk
Subject: Adding 90 minutes to Now()


I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down 
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
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



RE: Adding 90 minutes to Now()

2001-04-24 Thread John Wilker

#DateAdd('N',90,Now())#

N is for minutes.

J.


John Wilker
Web Applications Consultant
Allaire Certified ColdFusion Developer

www.red-omega.com 

Lessons learned from movies:
5. It does not matter if you are heavily outnumbered in a fight involving
martial arts, your enemies will wait patiently to attack you one by one by
dancing around in a threatening manner until you have knocked out their
predecessors.


-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 8:33 AM
To: CF-Talk
Subject: Adding 90 minutes to Now()


I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
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



RE: Adding 90 minutes to Now()

2001-04-24 Thread Larry Juncker

Ben;

Try 

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


-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 10:33 AM
To: CF-Talk
Subject: Adding 90 minutes to Now()


I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
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



RE: Adding 90 minutes to Now()

2001-04-24 Thread Dave Livingston

*This message was transferred with a trial version of CommuniGate(tm) Pro*
Use n for minutes.
#DateAdd('n',90,Now())#

Dave

-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 10:33 AM
To: CF-Talk
Subject: Adding 90 minutes to Now()


*This message was transferred with a trial version of CommuniGate(tm) Pro*
I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
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



Re: Adding 90 minutes to Now()

2001-04-24 Thread Michael Lugassy

datepart
One of the following strings:

  a..  -- Year
  b.. q -- Quarter
  c.. m -- Month
  d.. y -- Day of year
  e.. d -- Day
  f.. w -- Weekday
  g.. ww -- Week
  h.. h -- Hour
  i.. n -- Minute
  j.. s -- Second
  k..
  l..
  m.. - Original Message -
Thanks,

Michael Lugassy
Interactive Music Ltd.
~~
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



RE: Adding 90 minutes to Now()

2001-04-24 Thread Katherine Maltby

Don't you want TimeFormat instead of DateFormat if you're not talking about
specific days or months? (hh:mm:tt) So try swapping Date for Time and see
what happens,

Kath

Katherine Maltby
Web Production Director

--
United Kingdom
http://www.thoughtbubble.co.uk/
Ph: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Ph: +64 (0) 9 488 9131

The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s) . Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0) 20 7387 8890



-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: 24 April 2001 16:33
To: CF-Talk
Subject: Adding 90 minutes to Now()


I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down 
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
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



RE: Adding 90 minutes to Now()

2001-04-24 Thread Craig Dudley

#dateadd("n",90,now())#

-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: 24 April 2001 16:33
To: CF-Talk
Subject: Adding 90 minutes to Now()


I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down 
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
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



Re: Adding 90 minutes to Now()

2001-04-24 Thread Dain Anderson

#DateAdd('n', 90, Now())#

- Original Message -
From: "Ben Dyer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 11:32 AM
Subject: Adding 90 minutes to Now()


> I'm not sure how to do this:
>
> How do I find the value of ninety minutes from now?
>
> #DateAdd('h',1.5,Now())#
> Returns one hour from now (I'm guessing CF just rounds the non-integer
down
> to the next integer.
>
> #DateAdd('m',90,Now())#
> Returns ninety months from now (October 2008).
>
> #DateAdd('mm',90,Now())#
> Returns an error.
>
> Any thoughts?
>
> --Ben
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Ben Dyer
> Senior Internet Developer
> Imaginuity Interactive
> http://www.imaginuity.com
> -=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>
~~
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



Re: Adding 90 minutes to Now()

2001-04-24 Thread Michael Dinowitz

n is for minutes


#timeformat(now())# / #timeformat(DateAdd('n',90,Now()))#




> I'm not sure how to do this:
>
> How do I find the value of ninety minutes from now?
>
> #DateAdd('h',1.5,Now())#
> Returns one hour from now (I'm guessing CF just rounds the non-integer
down
> to the next integer.
>
> #DateAdd('m',90,Now())#
> Returns ninety months from now (October 2008).
>
> #DateAdd('mm',90,Now())#
> Returns an error.
>
> Any thoughts?
>
> --Ben
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Ben Dyer
> Senior Internet Developer
> Imaginuity Interactive
> http://www.imaginuity.com
> -=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>
~~
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