note 118876 added to function.time

From: Date: Sun, 21 Feb 2016 16:03:58 +0000
Subject: note 118876 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-205000@lists.php.net to get a copy of this message
The number of 86,400 seconds in a day comes from the assumption of 60 seconds per minute, 60 minutes per hour and 24 hours per day: 60*60*24. But not every day has 24 hours. This edge case occurs on the days that clocks change as we enter and leave daylight savings (summer) time. Date and time arithmetic is logically consistent and correct when you use PHP built-in functions, but it may not always work as expected if you try to write your own date and time arithmetic. ---- Server IP: 72.52.91.14 Probable Submitter: 98.169.66.145 ---- Manual Page -- http://php.net/manual/en/function.time.php Edit -- https://master.php.net/note/edit/118876 Del: integrated -- https://master.php.net/note/delete/118876/integrated Del: useless -- https://master.php.net/note/delete/118876/useless Del: bad code -- https://master.php.net/note/delete/118876/bad+code Del: spam -- https://master.php.net/note/delete/118876/spam Del: non-english -- https://master.php.net/note/delete/118876/non-english Del: in docs -- https://master.php.net/note/delete/118876/in+docs Del: other reasons-- https://master.php.net/note/delete/118876 Reject -- https://master.php.net/note/reject/118876 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205000) next »