PHP DateTimeZone::getOffset April 25, 2012 Pramod T P It returns the timezone offset from GMT Example <?php $dateTimeZone = new DateTimeZone(‘Australia/Perth’); echo $dateTimeZone->getOffset(new DateTime(“2000-01-01”, new DateTimezone( ‘GMT’ ))); ?> Output 28800