"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

Reply via email to