JavaScript Working with dates - how to change military time to normal timing (12hrs) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

JavaScript Working with dates - how to change military time to normal timing (12hrs)

In JavaScript, when you get newDate(), it gets the military time (24hrs). How do you change it to normal timing (12 hrs)? https://code.sololearn.com/WljuSoBuCIW3/?ref=app

10th Jun 2019, 11:13 PM
Ginfio
Ginfio - avatar
1 Answer