System Clock
A clock that provides the time from the current system.
The time zone is treated as an immutable property of the clock, set when it is created. If you wish to follow changes to the system clock's configured time zone, you must create a new SystemClock in response to any time zone changes.
Types
Functions
read Instant
Link copied to clipboard
Reads the current Instant.
read Milliseconds
Link copied to clipboard
Reads the current number of milliseconds that have elapsed since the Unix epoch of 1970-01-01T00:00 in UTC.
read Platform Instant
Link copied to clipboard
Reads the current PlatformInstant.