as show time in minutes and seconds format to be running a level of play?

I need to display the time in minutes and seconds in which a level of play is running [import]uid: 136125 topic_id: 27645 reply_id: 327645[/import]

Here is a basic example:

[code]

local text = display.newText(“time: 0 mins 0 secs”, 100, 100, nil, 24)

local mins = 0
local secs = 0

local function handleTime(event)
secs = secs + 1

if secs > 60 then
mins = mins + 1
secs = 0
end

if mins > 60 then
mins = 0
end

text.text = “time: " … mins … " mins " … secs … " secs”
end

local updateTimer = timer.performWithDelay(1000, handleTime, 0)

[/code] [import]uid: 84637 topic_id: 27645 reply_id: 112209[/import]

Thanks [import]uid: 136125 topic_id: 27645 reply_id: 112380[/import]