code: def to_minutes(days=0, hours=0, minutes=0, seconds=0, milliseconds=0,
                 round_to_int=True):
      
      total = float(days)*24*60 + float(hours)*60 + float(minutes) + \
          float(seconds)/60 + float(milliseconds)/1000/60
      return int(round(total)) if round_to_int else total
docs: Returns the computed total number of minutes