Sets the system time to
timestampseconds since unix epoch.
Returns a float where the integer part is the seconds and the fractional part are microseconds since unix epoch.
Returns an integer with seconds since unix epoch.
Return True if the system time has been synchronized since system (re)start. False otherwise.
Returns the seconds elapsed since last sync.
Returns a float where the integer part is the seconds and the fractional part are nanoseconds since unix epoch.
Returns the milliseconds elapsed since system (re)start.
Sets the system date and time to
Returns a TimeInfo object with current system date and time.
Class used to store a broken-down time value (as in
struct tm) as defined by POSIX.1-2001.
Returns a tuple with the broken-down time elements.
Sets the object time to the
tbroken-down time tuple.
A broken-down time is a tuple with the following elements:
- month day
- week day
- year day
- whether it is daylight saving time: True, or not: False
- whether the Greenwich Mean Time if off: True, or not: False
- seconds since epoch
- microseconds since epoch