Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ utcfromtimestamp
Method
utcfromtimestamp
src/pendulum/datetime.py:1259–1260 ·
view source on GitHub ↗
(cls, t: float)
Source
from the content-addressed store, hash-verified
1257
1258
@classmethod
1259
def
utcfromtimestamp(cls, t: float) -> Self:
1260
return
cls.instance(datetime.datetime.utcfromtimestamp(t), tz=None)
1261
1262
@classmethod
1263
def
fromordinal(cls, n: int) -> Self:
Callers
1
test_utcfromtimestamp
Function · 0.80
Calls
1
instance
Method · 0.45
Tested by
1
test_utcfromtimestamp
Function · 0.64