Guest User

Untitled

a guest
May 24th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. <?php
  2.  
  3. $target = mktime(0, 0, 0, 2, 10, 2007) ;
  4.  
  5. $today = time () ;
  6.  
  7. $difference =($target-$today) ;
  8.  
  9. $days =(int) ($difference/86400) ;
  10.  
  11. print "Our event will occur in $days days";
  12.  
  13. ?>
Add Comment
Please, Sign In to add comment