All:
Is below the best and only way to easily find out how many days are
between 2 dates? Im writing a template for a file backup where files
that are older then 5 day will be deleted and Im not sure what the
easiest best practice approach would be for the days check.
<cfoutput>#Abs("#DateDiff("d","6/3/03","#DateFormat(NOW(),
"M/D/YY")#")#")#</cfoutput>
Regards,
JB
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4