Getting time in Java at real time.. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Getting time in Java at real time..

how do I get time at real time in Java to compare it to some value of time I need to?

20th Jan 2018, 9:14 AM
Muhammad Awais Ayaz Khan
Muhammad Awais Ayaz Khan - avatar
4 ответов
20th Jan 2018, 9:19 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 3
you can use java. util. Date
20th Jan 2018, 9:15 AM
shobhit - avatar
+ 3
by using Date class
20th Jan 2018, 12:09 PM
Vaibhav Tandon
Vaibhav Tandon - avatar
+ 2
Commonly we use but when we are working with database we need for comparing date formats.
20th Jan 2018, 3:00 PM
praveen - avatar