pandas.Timestamp.utcnow#
- classmethod Timestamp.utcnow()#
Return a new Timestamp representing UTC day and time.
See also
TimestampConstructs an arbitrary datetime.
Timestamp.nowReturn the current local date and time, which can be timezone-aware.
Timestamp.todayReturn the current local date and time with timezone information set to None.
to_datetimeConvert argument to datetime.
date_rangeReturn a fixed frequency DatetimeIndex.
Timestamp.utctimetupleReturn UTC time tuple, compatible with time.localtime().
Examples
>>> pd.Timestamp.utcnow() Timestamp('2020-11-16 22:50:18.092888+0000', tz='UTC')