Share via


Time.SetToNow Method

Definition

Sets the time of the given Time object to the current time.

[Android.Runtime.Register("setToNow", "()V", "GetSetToNowHandler")]
public virtual void SetToNow ();
[<Android.Runtime.Register("setToNow", "()V", "GetSetToNowHandler")>]
abstract member SetToNow : unit -> unit
override this.SetToNow : unit -> unit
Attributes

Remarks

Sets the time of the given Time object to the current time.

Java documentation for android.text.format.Time.setToNow().

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