M
Michele Simionato
I have strings representing UTC dates and I want to convert them in time tuples
using time.strptime. I have an issue with daylight savings.
For instance
Tue Sep 14 06:06:15 2004
is converted to
(2004, 9, 14, 6, 6, 15, 1, 258, -1)
The last "-1" means daylight savings. I want it to be 0.
I tried to play with time.daylight and time.timezone but with no luck.
Any hints?
TIA,
Michele Simionato
using time.strptime. I have an issue with daylight savings.
For instance
Tue Sep 14 06:06:15 2004
is converted to
(2004, 9, 14, 6, 6, 15, 1, 258, -1)
The last "-1" means daylight savings. I want it to be 0.
I tried to play with time.daylight and time.timezone but with no luck.
Any hints?
TIA,
Michele Simionato