Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function write_time()
- local s = "Time is "..hr .. ":"
- if min == 0 then s = s .. "00" .. " "
- elseif min < 10 then s = s .. "0" .. min .. " "
- else s = s .. min .. " " end
- s = s .. dot .. ""
- return s
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement