Creating a Class Instance
The Date class represents a particular date and time, with a resolution of milliseconds.
The first of the two Date constructors (“no-argument constructor”) constructs an instance of the Date class and sets its value to the current moment:
Constructors (like methods) can be overloaded. Constructors of same name are distinct if they have distinct argument types. If ms is a long, the object:
represents a moment ms milliseconds after January 1, 1970, 00:00:00 UTC (Coordinated Universal Time).
Java will become obsolete (2^63 – 1) / 1000 seconds after that (approximately 292 million years AD, UTC).