time count after registry
<p>I saw some website that after you have registered, you can use the service like posting a comment immediately.</p>

<p>You may have to wait for 5 or 10 minutes to be able to start, like this StackOverflow website.</p>

<p>Once you have asked question, you have to wait 20 minutes to select your answer.</p>

<p>If I want to do it in JavaScript or PHP can anyone show me how to do it? I assume you have to compare the time with current time-stamp, but don't know how to exactly implement it. Thanks in advance!</p>
