+ 1
Current date using java
How to collect current date in YYYY/MM/dd in java NetBeans?
2 Answers
+ 2
I found it!!
import java.time.LocalDateTime;
String date=LocalDateTime.now ().toString ();
//output 2018-03-25
+ 2
good job đ
How to collect current date in YYYY/MM/dd in java NetBeans?