<CFSET Future_Date = dateadd("n", 30, now())>

Look in the CF Language Reference for other date parts!

@llan

-----Original Message-----
From: David Boyd [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 03, 2002 11:58 AM
To: CF-Talk
Subject: Getting Future Date + 30 Minutes...

Hi,
 
Can anyone help me with a Date's query I have.
 
Im looking to evalutate a Future Date variable which will return the
current system date + 30 minutes (or X amount of minutes).
 
At the moment I am able to just return the current Date plus X amount of
days i.e. the example below.
 
<cfset Future_Date = Now()+1>
Expires - 
#DateFormat(Future_Date, 'dddd, dd mmmm yyyy')# 
at
#TimeFormat(Future_Date, 'HH:mm:ss')#
 
 
Has anyone encountered and overcome a similar query?
 
Many Thanks,
David
 
 
 

David Boyd 
Web Apps Developer

Certified ColdFusion (5.0) Developer 
Biznet
Head Office
133-137 Lisburn Road, Belfast
Northern Ireland BT9 7AG 
 T +44 (0) 28 9022 3224
 F +44 (0) 28 9022 3223
 E  [EMAIL PROTECTED]
 W www.biznet-solutions.com 


************************************************************************
**********************

If you are not the intended recipient, or person responsible for
delivering it to the intended recipient, you are not authorized to and
must not disclose, copy, distribute or retain this message or any part
of it.

The opinions / views / comments on this e-mail do not necessarily
reflect any views or policies of biznet

The recipient should check this email and any attachments for the
presence of viruses. biznet accepts no liability for any damage caused
by any virus transmitted by this email. biznet 2002.

************************************************************************
**********************

 


 

 

 



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to