Return the current time in the local timezone.
This differs from datetime.today() in that it can be localized to a passed timezone.
Timezone to localize to.
Examples
>>> pd.Timestamp.today()
Timestamp('2020-11-16 22:37:39.969883')
Analogous for pd.NaT:
>>> pd.NaT.today()
NaT
© 2008–2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
© 2011–2025, Open source contributors
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/2.3.0/reference/api/pandas.Timestamp.today.html