when you execute a function like this
#DateAdd('h', 1, finishdate)#
you are not changing the value of finishdate .
That's why finishdate isn't changing and, as mentioned above, you need to set a
new variable, or reassign the old one, like this
<cfset newFinishDate = DateAdd('h', 1, finishdate)>
Now newFinishDate will be an hour later than finishDate and finishDate is
unchanged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4