MicrosecondsClock.toTm

Converts t to a tm struct, specifying the year, months, days, hours, minutes, and seconds, plus the microseconds via an out parameter.

  1. tm toTm(time_t t, bool local)
  2. tm toTm(timeval t, ulong us)
    class MicrosecondsClock
    static
    tm
    toTm
    (,
    out ulong us
    )

Parameters

t timeval

timeval struct to convert

us ulong

receives the remainder number of microseconds (not stored in the returned tm struct)

Return Value

Type: tm

tm struct containing everything.

Meta