Are you looking for a CF solution or are you looking to validate using 
javascript before the form is submitted?

If you are looking for CF solution, then DateDiff() is your friend.
It's basically just DateDiff("D",startdate,enddate) to get the difference in 
days between two dates... so DateDiff("D",now(),startdate) to find out how many 
days between today and start date, for example.

If you want a javascript solution, then you'll have to do some more work.  The 
amount of work depends on exactly what you are going to need, but for starters 
you might want to check out this page, which shows a good way to find the 
difference between dates in javascript:

http://www.javascriptkit.com/javatutors/datedifference.shtml

Anyway, good luck :)
--
Pat

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268358
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to