Module:Timebox

local p = {}

function p.time(hoursOffset) currentUTCTime = os.time(os.date('!*t')); currentTime = currentUTCTime + (60*60*(hoursOffset.args[1] or 0)); prettyTime = os.date('%I:%M %p', currentTime) return prettyTime; end

function p.date(hoursOffset) currentUTCTime = os.time(os.date('!*t')); currentTime = currentUTCTime + (60*60*(hoursOffset.args[1] or 0)); prettyTime = os.date('%A, %B %d, %Y', currentTime) return prettyTime; end

return p