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

Reply via email to