how to compere dates ? I try to write a function which will logout character if his time playing is higher than X. I thought that would by quite easy example
if ($charactertime > 3*60*60*100) then go xxx and logout. Unfortunatelythe result of this request $charactertime is in some strange format (in the documentation I read that it should by in ms) but the result of this request looks like this... 22:05:40:46. I tried before to round it time(math.floor($charactertime / 1000)) - and it returned more accessible result - 33:20 (mm:ss) but I'm not sure how can I compare this :/