Hey there! I have problems with the time zone.
I have a time stamp 2010-07-26 23:35:03
What I really want to do is subtract 15 minutes from that time.
My method was to be a simple conversion during unix, subtract seconds and convert back. Simple right?
My problem is that python is adjusting the returned unix time using my local timezone, currently eastern daylight saving time, which I think is GMT -4.
So when I do this:
unix_time_value = (mktime(packet[20].timetuple()))
I get 1280201703, which is Tue, Jul 27, 2010 03:35:03 AM. I can do it:
unix_time_value = (mktime(packet[20].timetuple())) - (4 * 3600)
, -5 GMT, (4 * 3600) (5 * 3600). python darn [20] 15 ?