Java - Date / Time

> Procedural Languages > Java > Java - Date / Time

1 - About

Date data type in Java

3 - Packages

3.1 - Date/ Calendar

Packages implementing a date representation:

See Java - Calendar Util (Date)

Advertising

3.2 - Java.time

Java.time package supplants the old java.util.Date/Calendar classes. See Java - Time (LocalDate)

4 - System

TimeZone-safe as it return time in UTC.

long ts = System.currentTimeMillis();
lang/java/time/start.txt · Last modified: 2018/03/09 13:52 by gerardnico