ZonedDateTime.Now Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Now(ZoneId) | |
Now() | |
Now(Clock) |
Now(ZoneId)
[Android.Runtime.Register("now", "(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Now (Java.Time.ZoneId? zone);
[<Android.Runtime.Register("now", "(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Now : Java.Time.ZoneId -> Java.Time.ZonedDateTime
Parameters
- zone
- ZoneId
Returns
- Attributes
Applies to
Now()
[Android.Runtime.Register("now", "()Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Now ();
[<Android.Runtime.Register("now", "()Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Now : unit -> Java.Time.ZonedDateTime
Returns
- Attributes
Applies to
Now(Clock)
[Android.Runtime.Register("now", "(Ljava/time/Clock;)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Now (Java.Time.Clock? clock);
[<Android.Runtime.Register("now", "(Ljava/time/Clock;)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Now : Java.Time.Clock -> Java.Time.ZonedDateTime
Parameters
- clock
- Clock
Returns
- Attributes