And what turned out to be the reason for adding "+25" to the calculation?

Rick

-----Original Message-----
From: Les Mizzell [mailto:[email protected]] 
Sent: Tuesday, March 02, 2010 11:39 PM
To: cf-talk
Subject: Re: date calculations driving me batty!!


> <cfset req.daysAway = #DateDiff("D",req.departdate,req.returndate)#+1 >

OK - THIS works


<cfset req.hours = #DateDiff("h",req.departdate,req.returndate)#+25)>
<cfset req.daysAway = int(req.hours/24)>


__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4910 (20100302) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to