function time_change(ctime, ical)local ictimelocal stimeictime = string.sub(ctime,1,2) + ical if ictime > 24 then ictime = ictime - 24endstime = string.format("%02s",ictime)return stimeend-- 주어진 연도가 윤년인지 확인하는 함수function is_leap_year(year) if (year % 4 == 0 and year % 100 ~= 0) or (year % 400 == 0) then return true else return false endend-- 각 월의 일수를 반환하는 함수function day..