#DateAdd('N',90,Now())#
N is for minutes.
J.
John Wilker
Web Applications Consultant
Allaire Certified ColdFusion Developer
www.red-omega.com <http://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