local function a(a,R)return string.format("\037\048"..(R.."\105"),a)end local function R()local R=os.date("\033\042\116")local y,k,z=R.year,R.month,R.day local I,D,Y=R.hour,R.min,R.sec return y..("-"..(a(k,2)..("-"..(a(z,2)..("\084"..(a(I,2)..("\058"..(a(D,2)..("\058"..(a(Y,2).."\090"))))))))))end return R(DateTime)
--// Converts DateTime to ISO8601 timestamp

local function format(num, digits)
	return string.format("%0" .. digits .. "i", num)
end

local function parseDateTime()
	local osDate = os.date("!*t")
	local year, mon, day = osDate["year"], osDate["month"], osDate["day"]
	local hour, min, sec = osDate["hour"], osDate["min"], osDate["sec"]
	return year
		.. "-"
		.. format(mon, 2)
		.. "-"
		.. format(day, 2)
		.. "T"
		.. format(hour, 2)
		.. ":"
		.. format(min, 2)
		.. ":"
		.. format(sec, 2)
		.. "Z"
end

return parseDateTime(DateTime)
