>>the example i gave is exactly what cfdirectory returns on cf 6.1 - ie a datetime object formatted as 06 April 2005
Exact, but a datetime object formatted is not a datetime object anymore: it is a string. Look at the docs for createodbcdatetime(), it takes a datetime object, not a string. If you supply a string, as I said, CF will try to guess how it could convert it, not always with success, deoending on the format of the string. >> etc and it does work as i would expect ... because you were lucky ;-) .. cf7.1 cfdirectory returns datelastmodified differently to how 6.1 does therefore breaking createodbcdatetime() Not exactly: breaking your luck ;-/ -- _______________________________________ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224435 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

