Java.Lang.JavaSystem.CurrentTimeMillis Method
Returns the current time in milliseconds since January 1, 1970 00:00:00.

Syntax

[Android.Runtime.Register("currentTimeMillis", "()J", "")]
public static long CurrentTimeMillis ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the current time in milliseconds since January 1, 1970 00:00:00.0 UTC.

This method always returns UTC times, regardless of the system's time zone. This is often called "Unix time" or "epoch time". Use a Java.Text.DateFormat instance to format this time for display to a human.

This method shouldn't be used for measuring timeouts or other elapsed time measurements, as changing the system time can affect the results. Use JavaSystem.NanoTime for that.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1