For instance this:
my_timestamp = '2022-01-02T02:00:02-08:00'
We know that +00:00
is considered UTC, this timestamp -08:00
indicates America/Los_Angeles
.
Is there any way to explicitly get that information using any date function in python?
For instance:
my_timestamp = '2022-01-02T02:00:02-08:00' # iso string
implicit_tz = someFunction(my_timestamp) # return the string "America/Los_Angeles"
Is this possible? Thanks!