Bug #80185 [Opn->Csd]: jdtounix not work after 2037
| From: | php at y-mail dot ml | Date: | Sun, 04 Oct 2020 19:11:27 +0000 |
| Subject: | Bug #80185 [Opn->Csd]: jdtounix not work after 2037 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-229374@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80185&edit=1
ID: 80185
User updated by: php at y-mail dot ml
Reported by: php at y-mail dot ml
Summary: jdtounix not work after 2037
-Status: Open
+Status: Closed
Type: Bug
Package: *Calendar problems
Operating System: Ubuntu 20.04
PHP Version: 7.4.11
Block user comment: N
Private report: N
New Comment:
Dan replied to me, no longer relevant.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2020-10-04 19:07:32] danack@php.net
Probably, you should start planning to not use that function at some point in the next 17 years.
https://en.wikipedia.org/wiki/Year_2038_problem
------------------------------------------------------------------------
[2020-10-04 19:04:10] php at y-mail dot ml
Description:
------------
I tried to calculate dates for a few years ahead and it turned out not that the jdtounix function
does not work after the year 2037.
Test script:
---------------
<?php
var_dump(jdtounix(2465712)); // => false
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80185&edit=1