pub fn calculate_time() -> (u64, u64, u64, u64, u64, u64, u64, u64)
Expand description
Calculates the current year, month, day, hour, minute, second, millisecond and microsecond.
ยงReturns
A tuple containing:
year
: The current yearmonth
: The current monthday
: The current dayhour
: The current hour (0-23)minute
: The current minute (0-59)second
: The current second (0-59)millisecond
: The number of milliseconds passed in the current secondmicrosecond
: The number of microseconds passed in the current second