+ 2

can I create timer in php

15th Aug 2016, 6:53 PM
Gajarajan K
Gajarajan K - avatar
3 Antworten
+ 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.
15th Aug 2016, 9:11 PM
stevv
stevv - avatar
+ 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.
18th Aug 2016, 11:47 AM
Bekir Uzun
Bekir Uzun - avatar
0
it can be possible
15th Aug 2016, 6:53 PM
Gajarajan K
Gajarajan K - avatar