mktime convert seconds to date
<p>I'm stuck on how to use mktime.  How do i get the date to when the ban will be lifted?</p>

<pre><code>$time = strtotime($banrow['time']); //when user got banned

    //1 week

        $banduration = 60*60*24*7;
        $newtime = $time+$banduration;


        echo date('Y-m-d',mktime());
</code></pre>
