I seem to have a hard time getting my head around this.
What\'s the difference between calendar.timegm() and time.mktime()?
calendar.timegm()
time.mktime()
Say I h
calendar.timegm converts from UTC timestamp, time.mktime converts from local time not UTC.
calendar.timegm
8 hours difference in their results corresponds exactly to timezone of your location.