Try, DateAdd(h, 2, Hour(Now())), for 2 hours back it would be DateAdd(h, -2,
Hour(Now()))
If this throws an error try putting double-quotes around the "h".
Steve
-----Original Message-----
From: Tim Bahlke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 13, 2000 4:50 PM
To: [EMAIL PROTECTED]
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
------------------------------------------------------------------------------
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.