std.print.format.time

t

added in 3.0

(t ns)

formats ns to string

(t 1)

t:ms

added in 3.0

(t:ms ms)

converts an ms time into readable

(t:ms 1000)

t:ns

added in 3.0

(t:ns ns)(t:ns ns digits)

creates humanised time for nanoseconds

(t:ns 10000 3)

t:style

added in 3.0

(t:style ns)

sets the color for a time

(t:style 10000)

t:text

added in 3.0

(t:text ns)

formats ns to string

(t:text 1)

t:time

added in 3.0

(t:time ms)

only returns the time (not day) of an instant

(t:time (System/currentTimeMillis))