Try using the DateAdd function.

<cfset myVariable = DateAdd("h", 2, now())>

----- Original Message -----
From: "Tim Bahlke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 1:49 PM
Subject: 2 hours from now -


> I am trying to create a variable that represents two hours from now.  I
have
> been playing with CreateTime() and TimeFormat() but can't seem to get what
I
> want.
>
> If it's 4:00 I was to return 6:00.
>
> Any Suggestions?
>
> Thanks,
> Tim
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to