More languages
More actions
m (More testing) |
m (Test function) |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
function p. | function p.date(frame) | ||
local | local Date = os.date() | ||
local | local hour = Date:match("(%d+):%d+:%d+") | ||
local minute = Date:match("%d+:(%d+):%d+") | |||
local second = Date:match("%d+:%d+:(%d+)") | |||
return hour .. ":" .. minute .. ":" .. second | |||
return | |||
end | end | ||
return p | return p |