Java tutorial
import java.time.Clock; import java.time.LocalDate; public class Main { public static void main(String[] args) { LocalDate a = LocalDate.now(Clock.systemDefaultZone()); System.out.println(a); } }