It's legal. The default is only used when the variable does not exist and dateformatted data is still a date. Just be sure that request.current_date exists and it a date as well or it'll blow up.
> Can anyone tell me if this is a proper/valid usage for cfparam? > I'm debugging someone else's application and I've never seen it used this > way before. > > <cfparam name="request.create_date" > default=#DateTimeFormat(request.current_date)# type="date"> > > Thanks, > > Greg M > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

