Date Parsing with ColdFusion / Twitter

Posted by: scoopseven 14 years, 11 months ago

The Twitter API is great. Except for the dates it returns, especially if you're a ColdFusion progammer. I ended up using some code posted by Peter Freitag  to write a UDF to convert the Twitter date/time to a ColdFusion friendly date/time.   Twitter makes matters worse with it's inconsistency between the REST and Search APIs. My UDF also deals with the different date formats returned by the Twitter APIs. 
Search API returns: Sat, 16 May 2009 05:26:32 +0000 REST API returns: Sat May 16 05:26:32 +0000 2009 
Nice. *As of May 2009 the Twitter REST API and Search API still return different date formats. http://code.google.com/p/twitter-api/issues/detail?id=206 If you're interested in the udf, comment or email me at mark at mediapost.com. Unless it's a weekend I'll get it to you within a couple of hours.

Currently unrated


Recent Tweets

Recent Posts

Archive

2013
2012
2011
2010
2009
2008
2007
2006

Categories

Authors

Feeds

RSS / Atom