note 128349 added to function.easter-date

From: Date: Thu, 30 Mar 2023 12:18:01 +0000
Subject: note 128349 added to function.easter-date
Groups: php.notes 
Request: Send a blank email to php-notes+get-220307@lists.php.net to get a copy of this message
Hello, I have problem with easter_date because sometime it don't give the good Unix timestamp for midnight on Easter of a given year. For range(1970 , 2037) easter_date 1971, 1972, 1973, 1974, 1980 give saturday 23:00:00 Why ? Now I use easter_days and add 21 days. $year = 1980; $myeasterdate = mktime(0,0,0,3,21+easter_days($year),$year); ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 77.141.35.248) ---- Manual Page -- https://php.net/manual/en/function.easter-date.php Edit -- https://main.php.net/note/edit/128349 Del: integrated -- https://main.php.net/note/delete/128349/integrated Del: useless -- https://main.php.net/note/delete/128349/useless Del: bad code -- https://main.php.net/note/delete/128349/bad+code Del: spam -- https://main.php.net/note/delete/128349/spam Del: non-english -- https://main.php.net/note/delete/128349/non-english Del: in docs -- https://main.php.net/note/delete/128349/in+docs Del: other reasons-- https://main.php.net/note/delete/128349 Reject -- https://main.php.net/note/reject/128349 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220307) next »