pandas.Timestamp.date — pandas 2.2.3 documentation (original) (raw)
Timestamp.date()#
Return date object with same year, month and day.
Examples
ts = pd.Timestamp('2023-01-01 10:00:00.00') ts Timestamp('2023-01-01 10:00:00') ts.date() datetime.date(2023, 1, 1)