from_unix_timestamp
Documentation for eth_defi.utils.from_unix_timestamp function.
- from_unix_timestamp(timestamp)
Convert UNIX seconds since epoch to naive Python datetime.
- Parameters
timestamp (float) – Timestamp in since 1970-1-1 as float or int as seconds
- Returns
Naive Python datetime in UTC timezone (tzinfo is None, but the time is in UTC)
- Return type