<?php $target = mktime(0, 0, 0, 10, 25, 2010) ; $today = time () ; $difference =($target-$today) ; echo $output = $difference/60 ; ?>
will the above code give time in seconds
No it will give in minutes :) remove the "/60";