Time type

Undocumented

Methods

Bool(t:Time) Source: stdlib.ngs:6263
Undocumented
init(t:Time) Source: stdlib.ngs:6232
Initialize Time object with current time.
init(t:Time, epoch:Int) Source: stdlib.ngs:6237
Initialize Time object with the given epoch time.
init(t:Time, s:Str, format:Str) Source: stdlib.ngs:6241
Undocumented
Int(t:Time) Source: stdlib.ngs:6251
Undocumented
Str(t:Time, format:Str='%F %T %Z', gmt:Bool=false) Source: stdlib.ngs:6249
String representation of Time

Parameters

formatstrftime(3) format
gmtUse GMT time zone (defaults to local time zone)