hello everybody - date problem -

From: Date: Thu, 26 Sep 2002 15:16:20 +0000
Subject: hello everybody - date problem -
Groups: php.general 
Request: Send a blank email to php-general+get-117739@lists.php.net to get a copy of this message
Hi everybody out there, my name is Christopher (loc:germany), and i'm new in here. My actual pain is: I expecting <?php $timestamp = ($now - $five_minutes_ago); print date(H:i:s, $timestamp); ?> to print something like "00:05:00". The two given timstamps, differing (e.g.) five minutes, wich is 300 seconds, print this instead: "01:05:00". Whatever I try, the result always is an hour to much. Any 'hacks' on this ?-) Thanks for your time, Christopher -- sym.net - martin butz & christoph siefer gbr zwirnerstrasse 26 - 50678 koeln - 0221/3762591 email: siefer@sym.net - netz: http://www.sym.net

« previous php.general (#117739) next »