def _time_to_micros(time):
 seconds = ((((time.hour * 60) * 60) + (time.minute * 60)) + time.second)
 return ((1000000 * seconds) + time.microsecond)

def _time_to_micros ( time ) : seconds = ( ( ( ( time . hour * 60 ) * 60 ) + ( time . minute * 60 ) ) + time . second ) return ( ( 1000000 * seconds ) + time . microsecond )
convert a time into microseconds since midnight .