Module time

Source
Expand description

Conversions into the libraryโ€™s time type.

Constantsยง

DAYS_BEFORE_UNIX_EPOCH_AD ๐Ÿ”’
All the days up to and including 1969, plus the 477 leap days since AD began (calculated in Gregorian rules).
UNIX_EPOCH_YEAR ๐Ÿ”’

Functionsยง

days_before_year_ad ๐Ÿ”’
days_before_year_since_unix_epoch ๐Ÿ”’
days_in_feb ๐Ÿ”’
days_in_month ๐Ÿ”’
time_from_ymdhms_utc ๐Ÿ”’