date
¶
Module Contents¶
Functions¶
Convert a timestamp into a human readable date/time. |
|
|
Return the number of seconds since epoch UTC. |
- date.timestamp_as_string(value: None) None ¶
- date.timestamp_as_string(value: float) str
Convert a timestamp into a human readable date/time.
- Parameters:
value – a timestamp or None
- Returns:
the string representing the timestamp or None if value is None
- date.utc_timestamp() int ¶
Return the number of seconds since epoch UTC.