Simple Time Zone Calculation

  <?php$time_parts = localtime();$california_time_parts = localtime(time() – 3 * 3600); ?>
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!