Looks like it is formatted like a javascript date also notice there is no time zone info though....bit of a pain that is thanks for the code snipped though. i actually decided to do it this way tweetDate = ParseDateTime(listFirst(ListSetAt(tweetDate, 1, listLast(tweetDate, " "), " "), "+")); basically turn Fri Sept 19 16:30:00 +0000 2009 into 2009 Fri Sept 19 16:30:00 and then parse it with ParseDate() _____
From: Paul Kukiel [mailto:[email protected]] Sent: Thursday, 8 October 2009 10:36 AM To: [email protected] Subject: [cfaussie] Re: Convert a date to a proper date object I don't know it's weird. I tried heaps of simpler ways to force this to work but in the end that solution worked pretty well. I guess it's a time offset or something. Usually one of our ( ColdFusion ) date functions would work but not this time ( unless I missed something ? ) Paul. From: [email protected] [mailto:[email protected]] On Behalf Of Steve Onnis Sent: Wednesday, October 07, 2009 7:32 PM To: [email protected] Subject: [cfaussie] Re: Convert a date to a proper date object yes twitter (dam twits!) why is the date like that anyway? _____ From: Paul Kukiel [mailto:[email protected]] Sent: Thursday, 8 October 2009 10:24 AM To: [email protected] Subject: [cfaussie] Re: Convert a date to a proper date object Hey Steve, Let me guess Twitter's API? I solved it like this: http://pastebin.com/m6cfd7da9 Paul. From: [email protected] [mailto:[email protected]] On Behalf Of Steve Onnis Sent: Wednesday, October 07, 2009 7:14 PM To: [email protected] Subject: [cfaussie] Convert a date to a proper date object How do i convert "Wed Oct 07 22:59:00 +0000 2009" to a date in can use in CF ? Steve <BR --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
