Module:Sandbox/Heddy

local p = {}

-- testing time

local timetable1 = { year = 2021, month = 11, day = 11, hour = 0, minute = 0, second = 0, }

function p.test( frame ) output = "Epoch: " .. os.time(timetable1) .. " " .. "Year: " .. timetable1["year"] .. " " .. "Month: " .. timetable1["month"] .. " " .. "Day: " .. timetable1["day"] .. " " .. "Hour: " .. timetable1["hour"] .. " " .. "Minute: " .. timetable1["minute"] .. " " .. "Second: " .. timetable1["second"] .. " " -- .. "Weekday (Sunday is 1): " .. timetable["wday"] .. " " -- .. "Day of the year: " .. timetable1["yday"] .. " " -- .. "DST: " .. timetable1["isdst"] .. " " return output end

return p