Did you try any of the Parse Date/Time functions? If that doesn't work, you can always build a function to parse the date/time for you. This format looks like it should be consistent for all dates/times.
M!ke -----Original Message----- From: Jim Rathmann [mailto:[EMAIL PROTECTED] Sent: Friday, May 13, 2005 11:37 AM To: CF-Talk Subject: Date/Time Question I thought I posted this question yesterday but it doesn't seem that it ever was posted. The question is how to convert this date/time field that I receive in a webservice to a standard date/time. The value I pull is in this format: "2005-04-07T13:29:00.0000000-04:00" You cannot use the DateFormat in ColdFusion on it without getting an error saying it is not a valid dateformat. I need to be able to store it to SQL server but when I try it as is I get an error about Incorrect syntax near 'T13:'. Any help would be much appreciated. Thanks in advance, Jim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:206617 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54