time
Currently the implementation is n_time module . The following is its doc:
Consts
DefaultTimeFormat = "%a %b %d %H:%M:%S %Y"
- Source Edit
Procs
func asctime(t: Some_struct_time): PyStr
-
Example:
assert asctime(gmtime(0)) == "Thu Jan 1 00:00:00 1970"
Source Edit proc strptime(s: PyStr; format = DefaultTimeFormat): struct_time {. ...raises: [ValueError, TimeParseError, TimeFormatParseError], tags: [TimeEffect], forbids: [].}
- Source Edit
Exports
-
sleep, time, time_ns, perf_counter, monotonic_ns, perf_counter_ns, process_time, monotonic, <=, struct_time, <=, <, <, ==, <=, struct_time_tuple10, ==, repr, Some_struct_time, <=, ==, Some_struct_time_tuple, <, struct_time_tuple11, <=, ==, ==, <, <, struct_time_tuple, toTuple, localtime, mktime, mktime, localtime, gmtime, gmtime, gmtime, localtime