fork(1) download
  1. <?php
  2. $date=strtotime("2013-04-10 21:31:30");
  3. if(function_exists('date_default_timezone_set'))
  4. date_default_timezone_set("Asia/Calcutta");
  5. $now=time();
  6. $diff=$now-$date;
  7. echo $diff;
  8. ?>
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
266060