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
  • 669,327
  • 51
  • 454
  • 560

0 Answers0