now

fun YearMonth.Companion.now(zone: TimeZone = TimeZone.currentSystemDefault()): YearMonth

Obtains the current year-month from the system clock in the specified time-zone.

Return

The current year-month.

Parameters

zone

The time-zone to use, defaults to the current system default time-zone.