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
(u64, u64, u64, u64, u64, u64, u64, u64)
- Tuple containing:- Year
- Month
- Day
- Hour (0-23)
- Minute (0-59)
- Second (0-59)
- Milliseconds in current second
- Microseconds in current second