def convertMinutesToTime(minutes):
  """
  Converts a number of minutes since 00:00 into a time string
  :param minutes: <int|(str)> number of minutes (will cast to int)
  :return: <str> time string in the format "HHMM"
  """
  # ensures int type
  i = int(minutes)
  
  # gets hours through integer division
  hours = str(i / 60).zfill(2)
  
  # gets minutes through modulus
  minutes = str(i % 60).zfill(2)
  
  # return ("HHMM")
  return hours + minutes