+ 2
can I create timer in php
3 ответов
+ 2
Yes you can. It is possible to declare time as a variable and you can execute all kind of cool timer functions. Time difference for example.
+ 2
<?php
t=time();
echo $t . "</br>";
echo date("Y-m-d", $t);
?>
output:
1471520860
2016-08-18
and you can set a cookie with value of $t and substract it from current date anywhere, anytime.
0
it can be possible