Hi everybody out there,

my name is Christopher (loc:germany), and i'm new in here.

My actual pain is: 

I expecting


$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,



sym.net  -  martin butz & christoph siefer gbr
zwirnerstrasse 26 - 50678 koeln - 0221/3762591
email: [EMAIL PROTECTED] - netz: http://www.sym.net

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to