JavaScript Working with dates - how to change military time to normal timing (12hrs) | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta