UTC Date/Time formatting using Javascript

465 pts.
Tags:
Date format
Google API
JavaScript
jquery
XML
Hello Everyone, I'm having trouble figuring out how to format a date and time for display. I'm using the Google Stock Quote API to generate XML and processing that XML for display. Here's the link to the XML: http://www.google.com/ig/api?stock=GOOG When processing that XML, you get a trade date and time:
<trade_date_utc data="20110927"/>
<trade_time_utc data="184233"/>
<exchange_timezone data="ET"/>
<exchange_utc_offset data="+05:00"/>
<daylight_savings data="true"/>
The time (in ET) should be 2:42:33. There's a bunch more data that may or may not be useful in the XML. Anyone have a quick way to format this using javascript or jQuery?  Google really isn't helping me out here with a nice set of easy to use data. Thanks, Dave

Software/Hardware used:
javascript, jquery, google,
ASKED: September 27, 2011  6:50 PM
UPDATED: March 31, 2012  1:07 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following