note 21101 added to function.mktime

From: Date: Mon, 29 Apr 2002 11:07:29 +0000
Subject: note 21101 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-29971@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. -- http://www.php.net/manual/en/function.mktime.php http://master.php.net/manage/user-notes.php?action=edit+21101 http://master.php.net/manage/user-notes.php?action=delete+21101 http://master.php.net/manage/user-notes.php?action=reject+21101

« previous php.notes (#29971) next »