[Typo3-dev] OT: maketime
Peter Niederlag
niederlag at ikd01.de
Thu Sep 23 17:05:35 CEST 2004
Hi,
can somebody explain to me why
<?php
$timestamp = mktime(0, 0, 0, 1, 1, 1970, 0);
echo $timestamp . "\n";
?>
does return '-8400'
while
<?php
$timestamp = mktime(1, 0, 0, 1, 1, 1970, 0);
echo $timestamp . "\n";
?>
Does return '0'?
I just don't get it. :-<
the later actually to me seems like 1 hour from 1.1.1970 which should
return something like 3600.
is this influenced by some locale-settings(could be differences between
daytime-savings, gmt, ...)?
Thx,
Peter
--
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.clown-goli.de * Clown-Comedy-Jonglage-Animation *
More information about the TYPO3-dev
mailing list