Sure. Look up the date functions in Cold Fusion. I would use the following
syntax:
CreateDateTime(year, month, day, hour, minute, second)
then embed the DateAdd function for each element.
#CreateDateTime(DateAdd('YYYY', 1, Now()), DateAdd('M', 1, Now()),
DateAdd('D', 1, Now()), DateAdd('H', 1, Now()), DateAdd('N', 1, Now()),
DateAdd('S', 1, Now()))#
Jesse D. Roberts
Business Process Analyst
Procurement Quality Assurance
Boeing - Huntington Beach, CA
[EMAIL PROTECTED]
Ph. 714-896-3462
Fx. 714-896-3303
> -----Original Message-----
> From: aslam bajaria [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, July 05, 2000 2:49 PM
> To: [EMAIL PROTECTED]
> Subject: How to set a future date?
>
> Is there a way to fill in a future date in a column of
> a table?
>
> I am familiar with the function now(). Is there a way
> of getting 1year, 1 month , 1 day, 1 hr, 1 min, 1 sec
>
> from now and filling it in in a column of a table?
>
> Appreciate.
> A.B.
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.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.