Current time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 19

Current time

How is Current time and date being made using Java and JavaScript codes

4th Sep 2018, 11:54 PM
//Fpharbhulourz/>😋😈🤓🇳🇬
//Fpharbhulourz/>😋😈🤓🇳🇬 - avatar
8 Answers
+ 13
Need a tutor on that
4th Sep 2018, 11:54 PM
//Fpharbhulourz/>😋😈🤓🇳🇬
//Fpharbhulourz/>😋😈🤓🇳🇬 - avatar
+ 12
https://javascript.info/date http://www.tutorialspoint.com/java/java_date_time You can use the search bar to find examples in the Code Playground: https://code.sololearn.com
5th Sep 2018, 12:22 AM
NezhnyjVampir
+ 5
do u need in java or javascript(they are not same), or from both?😞
6th Sep 2018, 12:31 PM
Seniru
Seniru - avatar
+ 1
For Java, depending of your project you can use LocalDate/LocalTime/LocalDateTime (easier to format/parsing; this API includes addition/subtraction operation (minusMinutes, plusDays, etc)) http://www.java2s.com/Tutorials/Java/java.time/LocalDate/index.htm
5th Sep 2018, 5:16 AM
Akazukin Chacha
Akazukin Chacha - avatar
+ 1
It is given in the course
7th Sep 2018, 2:41 PM
pradeepkrishna
pradeepkrishna - avatar
+ 1
good night
9th Sep 2018, 5:29 PM
Md Mustafa
+ 1
in java : Date date = new Date()
17th Sep 2018, 8:17 PM
Ali Ghahremani
Ali Ghahremani - avatar
0
Good
10th Sep 2018, 8:36 PM
Женя Бубнов
Женя Бубнов - avatar