System.currentTimeMillis

System.currentTimeMillis

Class Overview | Class Members | This Package | All Packages

Syntax
public static native long currentTimeMillis()
Returns
the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
Description
Returns the current time in milliseconds.

See the description of the class Date for a discussion of slight discrepancies that may arise between "computer time" and coordinated universal time (UTC).

See Also
Date