Effectively a namespace to make it clear that the methods it contains are getting the time from the system clock. It cannot be instantiated.
Returns the number of hnsecs since midnight, January 1st, 1 A.D. for the current time.
Returns the current time in the given time zone.
Get the current time as a SysTime
import std.datetime.timezone : LocalTime; SysTime today = Clock.currTime(); assert(today.timezone is LocalTime());
See Implementation
Effectively a namespace to make it clear that the methods it contains are getting the time from the system clock. It cannot be instantiated.