MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / utcfromtimestamp

Method utcfromtimestamp

tools/python-3.11.9-amd64/Lib/datetime.py:1793–1795  ·  view source on GitHub ↗

Construct a naive UTC datetime from a POSIX timestamp.

(cls, t)

Source from the content-addressed store, hash-verified

1791
1792 @classmethod
1793 def utcfromtimestamp(cls, t):
1794 """Construct a naive UTC datetime from a POSIX timestamp."""
1795 return cls._fromtimestamp(t, True, None)
1796
1797 @classmethod
1798 def now(cls, tz=None):

Callers 4

utcnowMethod · 0.80
formatdateFunction · 0.80
time2isozFunction · 0.80
time2netscapeFunction · 0.80

Calls 1

_fromtimestampMethod · 0.80

Tested by

no test coverage detected