Ben;

Try <cfset 90minfromnow = #Now()# + #CreateTimeSpan(0,0,90,0)#>

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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to