Is it possible to get the date from
[CODE]
function timeToStrID( time ) -- renamed so it wont crash with orginal
local tmp = time
local s = tmp % 60
tmp = math.floor( tmp / 60 )
local m = tmp % 60
tmp = math.floor( tmp / 60 )
local h = tmp % 24
tmp = math.floor( tmp / 24 )
local d = tmp % 7
local w = math.floor( tmp / 7 )
return string.format( "%02id %02im %02y", d, m, y) -- CHANGED THIS ALREADY!!!!!!
end
[/CODE]
changed string format already just need the math.floor for d(day) m(month) y(year)
Sorry, you need to Log In to post a reply to this thread.