fork download
  1. <?php
  2.  
  3. echo 'date_default_timezone: ' . date_default_timezone_get()."\n";
  4. }
  5.  
  6. echo strtotime('2012-10-09')."\n"; # default timezone
  7. echo strtotime('2012-10-09 UTC')."\n";
  8. echo strtotime('2012-10-09')."\n";
  9. ?>
Success #stdin #stdout 0.02s 13616KB
stdin
Standard input is empty
stdout
date_default_timezone:  Europe/London
1349737200
1349740800
1349740800