Gettimeofday
Datum aus gettimeofday zerlegen
|
Script: |
<?php
$time = gettimeofday();
echo $time["usec"]
. " µs <br
/>";
echo date("H:m:s",
$time["sec"])
. " (Zeit)<br />";
echo $time["minuteswest"]/60
. " h
(Diff zu GMT)<br />";
echo (($time["dsttime"]
== 1) ? "Sommerzeit"
: "Winterzeit")
. "<br />";
?>
|
|