pandas.Timestamp.now
pandas 3.1.1 · Arrays, scalars, and data types · method
Get the current time in the requested timezone, or the current period at the supplied frequency for Period.
Call syntax
Timestamp.now(tz=None)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
tz |
Optional Positional or keyword Default None |
str or timezone object Supply a timezone name or timezone object. |