Try the CF Function CreateODBCDateTime() http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00000357.htm
________________________________ From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Teddy R. Payne Sent: Tuesday, January 27, 2009 3:17 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] ISO 8601 date <cfset strTimeStamp = DateFormat(now(), "YYYY-MM-DD") & "T" & TimeFormat(now(), "HH:MM:SS") & "-05:00"> Quick and dirty. Teddy R. Payne, ACCFD Google Talk - teddyrpa...@gmail.com<mailto:teddyrpa...@gmail.com> On Tue, Jan 27, 2009 at 3:05 PM, Kevin Hellriegel <khell...@gmail.com<mailto:khell...@gmail.com>> wrote: I need to create a dateTime for the Fedex ShipService webservice that looks like this: 2009-01-27T14:45:23-05:00. You've got the date, the letter T, the time and offset from GMT. I've created a string, but the web service blows up with the ever useful "Cannot find webservice..." If I use Now() instead, the webservice returns the data I need, but with a warning saying the field (ShipTimestamp) is invalid. I've been looking through the axis API and cannot figure out what to use. Any ideas? Thanks, Kevin ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------