pandas / 1.4.0 / reference / api / pandas.timestamp.utcfromtimestamp.html /

pandas.Timestamp.utcfromtimestamp

classmethod Timestamp. utcfromtimestamp ( ts )

Construct a naive UTC datetime from a POSIX timestamp.

Examples

>>> pd.Timestamp.utcfromtimestamp(1584199972)
Timestamp('2020-03-14 15:32:52')

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.4.0/reference/api/pandas.Timestamp.utcfromtimestamp.html