Countdown --php--script


SUBMITTED BY: TheSwarm

DATE: Oct. 20, 2015, 8:07 p.m.

FORMAT: Text only

SIZE: 222 Bytes

HITS: 2312

  1. Script:
  2. <?php
  3. $datum="10.10.2000";
  4. $d=explode(".",$datum);
  5. $unix=mktime(0,0,0,$d[1],$d[0],$d[2]);
  6. $stamp=time();
  7. $diff=$unix-$stamp;
  8. $diff=$diff/86400;
  9. echo 'time left.. '.ceil($diff).' Tage bis zum '.$datum;
  10. ?>

comments powered by Disqus