Java - LocalDate

> Procedural Languages > Java > Java - Date / Time

2 - Management

2.1 - Init

LocalDate localDate = LocalDate.of(year,month,day);
LocalDate localDate = LocalDate.parse("2009-01-01",DateTimeFormatter.ISO_DATE);

2.2 - Print

sout(localDate.format(DateTimeFormatter.ISO_DATE));
Advertising