Dave Lyons wrote: > Parameter validation error for function DATEDIFF. > The value of the parameter 2, which is currently "CreateDateTime(Now())", must >be a class java.util.Date value.
You are using CreateDateTime() incorrectly. First, the syntax is different: http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/functions-pt142.jsp#1224498 Second, it is not needed at all ;-) Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4