Module:SandboxO

local p = {} function p.osclock return ';clock\n:' .. os.clock .. '\n' end function p.osdate return ';date\n:' .. os.date .. '\n' end function p.osdifftime local t1 = {year = 2014, month = 1, day = 1, hour = 0, min = 0, sec = 0, isdst = false} local t2 = {year = 2014, month = 12, day = 31, hour = 23, min = 59, sec = 59, isdst = false} return ';difftime\n:' .. os.difftime(os.time(t2), os.time(t1)) .. '\n' end function p.ostime return ';time\n:' .. os.time .. '\n' end return p