JavaSystem.CurrentTimeMillis Method

Definition

Returns the current time in milliseconds.

[Android.Runtime.Register("currentTimeMillis", "()J", "")]
public static long CurrentTimeMillis ();
[<Android.Runtime.Register("currentTimeMillis", "()J", "")>]
static member CurrentTimeMillis : unit -> int64

Returns

Int64

the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.

Attributes

Remarks

Java documentation for java.lang.System.currentTimeMillis().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to