pandas.Timestamp.utcnow#

classmethod Timestamp.utcnow()#

Return a new Timestamp representing UTC day and time.

See also

Timestamp

Constructs an arbitrary datetime.

Timestamp.now

Return the current local date and time, which can be timezone-aware.

Timestamp.today

Return the current local date and time with timezone information set to None.

to_datetime

Convert argument to datetime.

date_range

Return a fixed frequency DatetimeIndex.

Timestamp.utctimetuple

Return UTC time tuple, compatible with time.localtime().

Examples

>>> pd.Timestamp.utcnow()   
Timestamp('2020-11-16 22:50:18.092888+0000', tz='UTC')