<?php
$offset = date('O');
$offset = str_replace('0', '', $offset);
echo '<div style="width: 600px; font-size: 10px; font-family: verdana;">For users who use remote hosts and want to sync the calendar to their local timezone, use the following steps:<br><br>Your web host\'s timezone offset from GMT is: ' . date('Z') . ' seconds or ' . $offset . ' hrs<br><br>';
echo 'To find your local timezone offset, open the Date/Time Properties on your desktop and note your timezone settings. ie: (GMT -05:00) Eastern Time (US & Canada) This will be your local timezone offset and can be a positive or negative number. ie: -02:00 or 12:00. Enter this value in the $cal->user_offset variable in calendar.inc.php as -2 or 12.</div>';
?>
|