import time


def CreateISO8601(gm_seconds):
  """ Create an ISO-8601 format string
  Args:
    gm_seconds: seconds in UTC (GMT)
  Returns:
    string: YYYY-MM-DDTHH:MM:SSZ
  """
  return time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(gm_seconds))