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"; ?>
Continue reading…

Enjoyed this post? Share it!

 
 

Offsets From Utc

  $pc_timezones = array( ‘GMT’ => 0, // Greenwich Mean ‘UTC’ => 0, // Universal (Coordinated) ‘WET’ => 0, // Western European ‘WAT’ => -1*3600, // West Africa ‘AT’ => -2*3600, // Azores ‘NFT’ => -3*3600-1800, // Newfoundland ‘AST’ => -4*3600, // Atlantic Standard ‘EST’ => -5*3600, // Eastern Standard ‘CST’ => -6*3600, // Central […]
Continue reading…

Enjoyed this post? Share it!