pandas.Timestamp.utcoffset — pandas 2.2.3 documentation (original) (raw)

Timestamp.utcoffset()#

Return utc offset.

Examples

ts = pd.Timestamp('2023-01-01 10:00:00', tz='Europe/Brussels') ts Timestamp('2023-01-01 10:00:00+0100', tz='Europe/Brussels') ts.utcoffset() datetime.timedelta(seconds=3600)