timestampNow

fun timestampNow(clock: Clock = System): Instant

Timestamp of "now" defined by clock. The default is the current system clock (time).

Return

a timestamp using the specified clock

Parameters

clock

Clock to use