Use calendar.timegm() for time conversion