def get_elapsed_time(start_time, end_time):
 if ((start_time == end_time) or (not (start_time and end_time))):
  return 0
 if (start_time[:(-4)] == end_time[:(-4)]):
  return (int(end_time[(-3):]) - int(start_time[(-3):]))
 start_millis = _timestamp_to_millis(start_time)
 end_millis = _timestamp_to_millis(end_time)
 return int((end_millis - start_millis))

def get_elapsed_time ( start_time , end_time ) : if ( ( start_time == end_time ) or ( not ( start_time and end_time ) ) ) : return 0 if ( start_time [ : ( - 4 ) ] == end_time [ : ( - 4 ) ] ) : return ( int ( end_time [ ( - 3 ) : ] ) - int ( start_time [ ( - 3 ) : ] ) ) start_millis = _timestamp_to_millis ( start_time ) end_millis = _timestamp_to_millis ( end_time ) return int ( ( end_millis - start_millis ) )
gets the elapsed time between two events .