How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Hey all, I'm building an app which is using the Checkout by Amazon service. Whenever an order is placed, Amazon is nice enough to pass me an order notification in xml which contains the data associated w/ the order. Problem is, the order date they are passing is in Greenwich Mean Time, and

Re: How to convert GMT Time into something I can use

2009-03-08 Thread James Holmes
Did you try DateConvert()? http://cfquickdocs.com/cf8/?getDoc=DateConvert mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/3/9 Brian FitzGerald bmfitzgera...@yahoo.com: Hey all, I'm building an app which is using the Checkout by Amazon service.  

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Will Tomlinson
Problem is, the order date they are passing is in Greenwich Mean Time, and looks pretty funky to me: I used this. Seemed to work fine... http://www.cflib.org/udf/DateConvertZ Will ~| Adobe® ColdFusion® 8 software 8 is

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Hey there James, thanks for the response ... Actually, I hadn't tried dateConvert simply because I figured if one date function wouldn't recognize the string as a valid datetime string, then none of them would. I went ahead and gave dateConvert() a go and came up w/ the same error:

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Paul Hastings
Brian FitzGerald wrote: Problem is, the order date they are passing is in Greenwich Mean Time, and looks pretty funky to me: example: 2009-03-08T06:23:15.000Z that's iso8601 format. there's code to convert to cf datetimes in the comments here:

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Wow, all sorts of great info here... thanks a million. I tried the function you linked to Will but didn't have much luck w/ that. You'll have to show me how you managed to finesse that at work. Paul, you were right, Ben's post and subsequent comments right on target for this situation. I