I have a date string which looks like this:
Thu Feb 09 2012 01:50:00 GMT+0000 (GMT Standard Time)
And I basically need to re-format it to be 2 strings (one for date and one for time).
The date format needs to be:
m-d-Y (01-16-2012)
and the time should be
H:i (10:30)
I would recommend you take a look at Datejs. It is an excellent JavaScript library for parsing dates. (Making use of jQuery for cleanliness)