s=秒
m = getIntPart(_s/60)
h = getIntPart(_s/60/60)
d = getIntPart(_s/24/60/60)
if d > 0 then
return d.."天"
end
if h > 0 then
return h.."小时"
end
if m > 0 then
return m.."分钟"
end
if s > 0 then
return s.."秒"
end
m = getIntPart(_s/60)
h = getIntPart(_s/60/60)
d = getIntPart(_s/24/60/60)
if d > 0 then
return d.."天"
end
if h > 0 then
return h.."小时"
end
if m > 0 then
return m.."分钟"
end
if s > 0 then
return s.."秒"
end