<?php $local = new DateTimeZone('America/Los_Angeles'); $totSecs = $local->getOffset(new DateTime()); $hrs = floor($totSecs / (60 * 60)); $mins = floor(($totSecs - $hrs * 60 * 60) / 60); echo $hrs . ':' . $mins;
You have javascript disabled. You will not be able to edit any code.