Test here:
Tue Dec 9 00:49:11 2025
-- Package definition to return to Scribunto - this allows us to define methods that can be called
-- when this module is targeted.
local p = {}
function p.GenerateUI(frame)
local date = os.date("%c", os.time())
local time = mw.html.create('p')
time:tag('div'):wikitext(date):done()
return tostring(time)
end
return p