You can use the to_pydatetime method to be more explicit:

CopyIn [11]: ts = pd.Timestamp('2014-01-23 00:00:00', tz=None)

In [12]: ts.to_pydatetime()
Out[12]: datetime.datetime(2014, 1, 23, 0, 0)

It's also available on a DatetimeIndex:

CopyIn [13]: rng = pd.date_range('1/10/2011', periods=3, freq='D')

In [14]: rng.to_pydatetime()
Out[14]:
array([datetime.datetime(2011, 1, 10, 0, 0),
       datetime.datetime(2011, 1, 11, 0, 0),
       datetime.datetime(2011, 1, 12, 0, 0)], dtype=object)
Answer from Andy Hayden on Stack Overflow
🌐
Pandas
pandas.pydata.org › docs › reference › api › pandas.to_datetime.html
pandas.to_datetime — pandas 3.0.3 documentation
If 'julian', unit must be 'D', and origin is set to beginning of Julian Calendar. Julian day number 0 is assigned to the day starting at noon on January 1, 4713 BC. If Timestamp convertible (Timestamp, dt.datetime, np.datetimt64 or date string), origin is set to Timestamp identified by origin.
Discussions

pd.Timestamp vs datetime?
The obvious difference is that pd.Timestamp is part of the pandas module -- so any project that doesn't use pandas will prefer the builtin datetime. Other than that, per pandas documentation: "Timestamp is the pandas equivalent of python’s Datetime and is interchangeable with it in most cases." ( source ) So if you're using pandas it makes sense to use their Timestamp instead of datetime. More on reddit.com
🌐 r/learnpython
1
4
April 7, 2024
Automatic Conversion of Pandas Object to Datetime for Timestamps in Eventset Creation
In the process of creating an eventset from a Pandas DataFrame, an issue arises when timestamps are stored as Pandas objects, making it necessary to convert them to datetime format before further p... More on github.com
🌐 github.com
3
December 25, 2023
Python Notebook write to Delta Table: Struggling with date and timestamps
if anyone comes back to this in the future using polars and pandas: polars.write_delta was allowing a TIMESTAMP_NTZ column to be written to the delta table, which is supported by Fabric but is considered a complex type, hence not available in the SQL endpoint or the default semantic model. by ensuring you include timezone information, your write will be fine. assuming your pandas has a datetime64 column type, when you convert to polars you need to specify a schema override to include a timezone, then TIMESTAMP_LTZ will be recognised by the engines fine: polars.from_pandas( pandasDF, schema_overrides={ 'TimePoint': polars.Datetime(time_unit='ms', time_zone='UTC') } ).write_delta( f"abfss://etc/Tables/Table Name" ) More on reddit.com
🌐 r/MicrosoftFabric
40
4
November 30, 2024
Efficient Conversion of Timezone-Aware Timestamps to datetime64[m] in Pandas
I have the following code that creates a DataFrame representing the data I have in my system: import pandas as pd data = { "date": [ "2021-03-1… More on reddit.com
🌐 r/dataengineering
1
2
September 4, 2024
🌐
Pandas
pandas.pydata.org › docs › reference › api › pandas.Timestamp.to_pydatetime.html
pandas.Timestamp.to_pydatetime — pandas 3.0.3 documentation
>>> ts = pd.Timestamp('2020-03-14T15:32:52.192548') >>> ts.to_pydatetime() datetime.datetime(2020, 3, 14, 15, 32, 52, 192548)
🌐
Medium
medium.com › @whyamit404 › converting-pandas-timestamp-to-datetime-0390728d0a2c
Converting Pandas Timestamp to Datetime | by whyamit404 | Medium
February 26, 2025 - Let’s say you’re working with data that has timestamps in UTC. You need to convert them to Python’s datetime format while keeping the timezone intact. ... import pandas as pd # Timestamp with timezone ts_tz = pd.Timestamp('2024-02-05 12:00:00', tz='UTC') print("Original Timestamp with Timezone:", ts_tz) # Convert to datetime dt_tz = ts_tz.to_pydatetime() print("Converted to datetime with Timezone:", dt_tz)
🌐
GeeksforGeeks
geeksforgeeks.org › pandas › pandas-timestamp-to-datetime
Pandas Timestamp To Datetime - GeeksforGeeks
July 23, 2025 - # Create a Pandas Timestamp object ... # Convert the Timestamp to a Python datetime object datetime_obj = ts.to_pydatetime() print(datetime_obj) print(type(datetime_obj))...
Find elsewhere
🌐
Pandas
pandas.pydata.org › docs › reference › api › pandas.Timestamp.html
pandas.Timestamp — pandas 3.0.3 documentation
The other two forms mimic the parameters from datetime.datetime. They can be passed by either position or keyword, but not both mixed together. ... >>> pd.Timestamp(1513393355, unit='s', tz='US/Pacific') Timestamp('2017-12-15 19:02:35-0800', tz='US/Pacific')
🌐
InfluxData
influxdata.com › home › how to convert timestamp to datetime in python | influxdata
How to Convert Timestamp to DateTime in Python | InfluxData
June 28, 2023 - For example, pd.to_datetime(df['timestamp_col'], unit='s') will convert an entire column of Unix timestamps to pandas Timestamp objects, which behave similarly to Python datetime objects and integrate seamlessly with pandas date-based operations.
🌐
Dataquest
dataquest.io › blog › datetime-in-pandas
DateTime in Pandas: An Uncomplicated Guide – Dataquest
May 12, 2025 - According to the information above, ... the datetime column from a string object to a datetime64 object, we can use the pandas to_datetime() method, as follows:...
🌐
Spark By {Examples}
sparkbyexamples.com › home › pandas › convert pandas timestamp to datetime
Convert Pandas Timestamp to Datetime - Spark By {Examples}
March 27, 2024 - How do you convert Pandas timestamp to Python datetime? - In Pandas, a Timestamp is a specific type of object representing a single timestamp, and it is a
🌐
ProjectPro
projectpro.io › recipes › convert-pandas-timestamp-date
How to Convert Pandas Timestamp to a Datetime? -
May 21, 2024 - This tutorial will help you seamlessly convert Pandas Timestamp to DateTime to enhance your data analysis skills. | ProjectPro
🌐
Programiz
programiz.com › python-programming › datetime › timestamp-datetime
Python timestamp to datetime and vice-versa (With Examples)
December 25, 2018 - from datetime import datetime # timestamp is number of seconds since 1970-01-01 timestamp = 1545730073 # convert the timestamp to a datetime object in the local timezone dt_object = datetime.fromtimestamp(timestamp) # print the datetime object and its type print("dt_object =", dt_object) print("type(dt_object) =", type(dt_object))
🌐
Statology
statology.org › home › pandas: how to add/subtract time to datetime
Pandas: How to Add/Subtract Time to Datetime
October 12, 2022 - This tutorial explains how to add and subtract time to a datetime in pandas, including an example.
🌐
Medium
foongminwong.medium.com › converting-unix-timestamp-to-readable-datetime-format-ada8fff362fe
Converting UNIX timestamp to readable datetime format in Pandas | by Foong Min Wong | Medium
April 11, 2022 - To truncate the timestamps to seconds and remove the timezone information, you can use pd.DateTimeIndex.floor and tz_localize(None) as shown here
🌐
Arab Psychology
scales.arabpsychology.com › stats › how-to-convert-timestamp-to-datetime-in-pandas pdf
How to Easily Convert Timestamps to Datetime Objects in ...
December 6, 2025 - This is where methods applied directly to the Timestamp object or · the Series come into play, specifically the .to_pydatetime() method. The use of .to_pydatetime() bypasses the need for the overhead involved in parsing, as the temporal data is already correctly · structured within Pandas.
🌐
GeeksforGeeks
geeksforgeeks.org › pandas › python-pandas-timestamp-timestamp
Python | Pandas Timestamp.timestamp - GeeksforGeeks
July 11, 2025 - Here we will see different examples of how to use it: This example demonstrates the conversion between a Timestamp object and its corresponding Unix time representation using the pandas library.
🌐
GitHub
github.com › google › temporian › issues › 330
Automatic Conversion of Pandas Object to Datetime for Timestamps in Eventset Creation · Issue #330 · google/temporian
December 25, 2023 - If the Timestamp Column is Pandas Object: Automatically convert the column to datetime format, ensuring compatibility for eventset creation.
Author   google
🌐
Pandas
pandas.pydata.org › docs › reference › api › pandas.Timestamp.replace.html
pandas.Timestamp.replace — pandas 3.0.3 documentation
Converts various types of data to datetime. ... The replace method does not perform timezone conversions. If you need to convert the timezone, use the tz_convert method instead. ... >>> ts = pd.Timestamp('2020-03-14T15:32:52.192548651', tz='UTC') >>> ts Timestamp('2020-03-14 15:32:52.192548651+0000', tz='UTC')