PHP/Date/gettimeofday
Версия от 10:37, 26 мая 2010; (обсуждение)
gettimeofday.php
<?php
$time = gettimeofday();
$GMToffset = $time["minuteswest"] / 60;
echo "Server location is $GMToffset hours west of GMT.";
?>
<?php
$time = gettimeofday();
$GMToffset = $time["minuteswest"] / 60;
echo "Server location is $GMToffset hours west of GMT.";
?>