def ISO8601ToUTCTimestamp(day, hour=0, minute=0, second=0):
 (y, m, d) = day.split('-')
 return calendar.timegm(datetime(int(y), int(m), int(d), hour, minute, second).timetuple())

def ISO8601ToUTCTimestamp ( day , hour = 0 , minute = 0 , second = 0 ) : ( y , m , d ) = day . split ( '-' ) return calendar . timegm ( datetime ( int ( y ) , int ( m ) , int ( d ) , hour , minute , second ) . timetuple ( ) )
convert the day in iso 8601 format to timestamp .