ID EN
Datetime

fromtimestamp

Python 3.11

Return the local date corresponding to the POSIX timestamp, such as is returned by time.time().

Syntax

PYTHON
classmethod date.fromtimestamp(timestamp)

See Also

time.time() OverflowError OSError fromtimestamp() OverflowError ValueError OSError ValueError