<!DOCTYPE html>
<html>
<body>

<?php
$tz=timezone_open("Asia/Taipei");
$dateTimeNY=date_create("now",timezone_open("America/New_York"));
echo timezone_offset_get($tz,$dateTimeNY);
?>

</body>
</html>