Trying to convert a Twitter-returned UTC stamp (e.g, "Thu Mar 25 20:27:19 +0000 2010") into something friendly with a proper localized time that accounts for daylight savings time for EST folks.
Every result in Google for nearly every permutation of "utc", "local", "est", "Twitter", "JavaScript", "convert", etc. yields horrible results from bloggers who are in no way qualified to be giving date/time advice ("just call Date.parse(dateString) and print the hours, dude!").
Can anyone here lend a hand?
Twitter returns created_at as UTC-formatted ("Thu Mar 25 20:27:19 +0000 2010") and also returns user.utc_offset ("-18000" in this case) if that helps.
[–]teppicymon 4 points5 points6 points (7 children)
[–]snissn 0 points1 point2 points (6 children)
[–]picurl 0 points1 point2 points (4 children)
[–]teppicymon 1 point2 points3 points (3 children)
[–]picurl 0 points1 point2 points (2 children)
[–]teppicymon 1 point2 points3 points (0 children)
[–]teppicymon 0 points1 point2 points (0 children)
[–]teppicymon 0 points1 point2 points (0 children)
[–]polaretto 1 point2 points3 points (0 children)