core / io.islandtime.clock / now

now

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Instant.Companion.now(): Instant

Get the current Instant from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Instant.Companion.now(clock: Clock): Instant

Get the current Instant from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Year.Companion.now(): Year

Get the current Year from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Year.Companion.now(clock: Clock): Year

Get the current Year from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun YearMonth.Companion.now(): YearMonth

Get the current YearMonth from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun YearMonth.Companion.now(clock: Clock): YearMonth

Get the current YearMonth from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Date.Companion.now(): Date

Get the current Date from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Date.Companion.now(clock: Clock): Date

Get the current Date from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun DateTime.Companion.now(): DateTime

Get the current DateTime from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun DateTime.Companion.now(clock: Clock): DateTime

Get the current DateTime from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun OffsetDateTime.Companion.now(): OffsetDateTime

Get the current OffsetDateTime from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun OffsetDateTime.Companion.now(clock: Clock): OffsetDateTime

Get the current OffsetDateTime from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun OffsetTime.Companion.now(): OffsetTime

Get the current OffsetTime from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun OffsetTime.Companion.now(clock: Clock): OffsetTime

Get the current OffsetTime from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Time.Companion.now(): Time

Get the current Time from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Time.Companion.now(clock: Clock): Time

Get the current Time from the specified clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun ZonedDateTime.Companion.now(): ZonedDateTime

Get the current ZonedDateTime from the system clock.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun ZonedDateTime.Companion.now(clock: Clock): ZonedDateTime

Get the current ZonedDateTime from the specified clock.