+ 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?
4 ответов
+ 13
//import java.util.Date;
https://code.sololearn.com/c2sCEsGl9bhH/?ref=app
+ 3
you can use java. util. Date
+ 3
by using Date class
+ 2
Commonly we use util.date but when we are working with database we need sql.date for comparing date formats.