Setting Time Zones And Gmt/Utc

 
<?php
  $ts = time();  echo date('r', $ts) . "<br />\n";
  echo date('r', $ts) . "<br />\n";
  echo strftime("%D %T %Z", $ts) . "<br />\n";
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.