0

I have a date that looks like this: 2015-09-06T21:10:00Z

I use new Date(2015-09-06T21:10:00Z) and the date looks like this: Sun Sep 06 2015 14:10:00 GMT-0700 (Pacific Daylight Time)

That's good, however, I need to the time to be in 12 hour format.

Any help is appreciated.

Barmar
  • 741,623
  • 53
  • 500
  • 612

0 Answers0