the example i gave is exactly what cfdirectory returns on cf 6.1 - ie a datetime object formatted as 06 April 2005 etc and it does work as i would expect. cf7.1 cfdirectory returns datelastmodified differently to how 6.1 does therefore breaking createodbcdatetime()
john. >>>createodbcdatetime() > >Are you calling createodbcdatetime() directly on strings like "06 April >2005 08:16:51 o'clock BST"? >If yes, this is wront, createodbcdatetime() expects a date as paremeter, >not a string; >If you supply a string representing a date, CF will try to convert it >first to a date, and guess the format. >Many time it will guess wrong. > >-- >_______________________________________ >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:224385 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

