How can I get current time in Javascipt? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I get current time in Javascipt?

Javascript

18th Jun 2019, 3:03 PM
Elshad Abbasov
Elshad Abbasov - avatar
4 Answers
+ 1
Or, you can just use the date class/object https://code.sololearn.com/Ww87H2s6hrI0/?ref=app
18th Jun 2019, 3:22 PM
Airree
Airree - avatar
0
Thank you very much, but code is little bit messy, please can you clear it up for me? I am new to Javascript by the way
18th Jun 2019, 3:08 PM
Elshad Abbasov
Elshad Abbasov - avatar
0
Thanks for help!
18th Jun 2019, 3:29 PM
Elshad Abbasov
Elshad Abbasov - avatar
- 3
Guys, please stop with this kind of questions. Pls complete the SoloLearn JavaScript course and you will see how you get current time.
18th Jun 2019, 6:24 PM
Qbix
Qbix - avatar