note 21101 rejected from function.mktime by torben

From: Date: Mon, 29 Apr 2002 12:14:35 +0000
Subject: note 21101 rejected from function.mktime by torben
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29972@lists.php.net to get a copy of this message
it seems that, when not using a month/day/year but 1-1-1970 to store a hour/minute timestamp, times starts from 01:00 instead of 00:00 (midnight). How to store hour-only timestamp for times lower than 01:00 ?? e.g. : - 00:34 returns -1 - 01:00 returns 0 - 02:00 returns 3600.

« previous php.notes (#29972) next »