note 120974 deleted from function.date by peehaa

From: Date: Sun, 28 Apr 2019 10:21:15 +0000
Subject: note 120974 deleted from function.date by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-210767@lists.php.net to get a copy of this message
Note Submitter: Hayley Watson ---- If you see the number 86400 in a date calculation, think very hard before deciding that it is correct. Not all days have 86,400 seconds in them. In many places, some days have only 82,800 seconds and some have 90,000. Occasionally, there are even fewer or even more. Assuming that now plus 86,400 seconds is equivalent to some time tomorrow can sometimes be wrong. It might actually be the day after tomorrow or still today. It's called Daylight Saving.

« previous php.notes (#210767) next »