pandas.Timestamp.time#

Timestamp.time()#

Return time object with same time but with tzinfo=None.

Examples

>>> ts = pd.Timestamp('2023-01-01 10:00:00')
>>> ts
Timestamp('2023-01-01 10:00:00')
>>> ts.time()
datetime.time(10, 0)