Clock.currStdTime

Returns the number of hnsecs since midnight, January 1st, 1 A.D. for the current time.

class Clock
static @property @trusted
long
currStdTime
(
ClockType clockType = ClockType.normal
)
()

Parameters

clockType

The core.time.ClockType indicates which system clock to use to get the current time. Very few programs need to use anything other than the default.

Throws

std.datetime.date.DateTimeException if it fails to get the time.

Meta