-24 :20-01-2038
-23 :20-02-2038
-22 :20-03-2038
-21 :20-04-2038
-20 :20-05-2038
-19 :20-06-2038
-18 :20-07-2038
-17 :20-08-2038
-16 :20-09-2038
-15 :20-10-2038
-14 :20-11-2038
-13 :20-12-2038
-12 :20-01-2039
-11 :20-02-2039
-10 :20-03-2039
-9 :20-04-2039
-8 :20-05-2039
-7 :20-06-2039
-6 :20-07-2039
-5 :20-08-2039
-4 :20-09-2039
-3 :20-10-2039
-2 :20-11-2039
-1 :20-12-2039
0 :20-01-2040
1 :20-02-2040
2 :20-03-2040
3 :20-04-2040
4 :20-05-2040
5 :20-06-2040
6 :20-07-2040
7 :20-08-2040
8 :20-09-2040
9 :20-10-2040
10 :20-11-2040
11 :20-12-2040
12 :20-01-2041
13 :20-02-2041
14 :20-03-2041
15 :20-04-2041
16 :20-05-2041
17 :20-06-2041
18 :20-07-2041
19 :20-08-2041
20 :20-09-2041
21 :20-10-2041
22 :20-11-2041
23 :20-12-2041
24 :20-01-2042
adodb: 2025-04-05 14:16:27error for %Y %m %x %X, strftime=2025 04 04/05/25 13:16:27, adodb=2025 04 04/05/25 14:16:27
php : 2025-04-05 13:16:27
Testing gregorian <=> julian conversion
-12219382800 -12219296400 15 Oct 1582, Fri=Fri
4 Oct 1582, Thu=Thu
Testing overflow
Testing 2-digit => 4-digit year conversion
Err 2-digit 1940
Err 2-digit 1950
Testing date formating
3:38:42 pm PM 13 Sat August 1 13 01 13 38 13 Saturday 0 08 Aug 8 +0100 RFC2822 Sat, 13 Aug 1977 13:38:42 +0100 42 31 240323922 6 77 1977 224 3600 2003 Error date(): 240323922"date +01 1977-08-13 13:38:42 pm PM 13 Sat August 1 13 01 13 38 13 Saturday 0 08 Aug 8 +0100 RFC2822 Sat, 13 Aug 1977 13:38:42 +0100 42 31 240323922 6 77 1977 224 3600 2003" (date len=171) "date +01 1977-08-13 12:38:42 pm PM 13 Sat August 12 12 12 12 38 13 Saturday 0 08 Aug 8 +0000 RFC2822 Sat, 13 Aug 1977 12:38:42 +0000 42 31 240323922 6 77 1977 224 0 2003" (adodb_date len=169)
"date +01 1977-07-04 07:45:45 am AM 04 Mon July 7 7 07 07 45 4 Monday 0 07 Jul 7 +0100 RFC2822 Mon, 04 Jul 1977 07:45:45 +0100 45 31 236846745 1 77 1977 184 3600 2003" (date len=165) "date +01 1977-07-04 06:45:45 am AM 04 Mon July 6 6 06 06 45 4 Monday 0 07 Jul 7 +0000 RFC2822 Mon, 04 Jul 1977 06:45:45 +0000 45 31 236846745 1 77 1977 184 0 2003" (adodb_date len=162)
"date +01 1977-07-14 20:08:20 pm PM 14 Thu July 8 20 08 20 08 14 Thursday 0 07 Jul 7 +0100 RFC2822 Thu, 14 Jul 1977 20:08:20 +0100 20 31 237755300 4 77 1977 194 3600 2003" (date len=169) "date +01 1977-07-14 19:08:20 pm PM 14 Thu July 7 19 07 19 08 14 Thursday 0 07 Jul 7 +0000 RFC2822 Thu, 14 Jul 1977 19:08:20 +0000 20 31 237755300 4 77 1977 194 0 2003" (adodb_date len=166)
"date +01 1976-05-11 06:10:18 am AM 11 Tue May 6 6 06 06 10 11 Tuesday 1 05 May 5 +0100 RFC2822 Tue, 11 May 1976 06:10:18 +0100 18 31 200639418 2 76 1976 131 3600 2003" (date len=166) "date +01 1976-05-11 05:10:18 am AM 11 Tue May 5 5 05 05 10 11 Tuesday 1 05 May 5 +0000 RFC2822 Tue, 11 May 1976 05:10:18 +0000 18 31 200639418 2 76 1976 131 0 2003" (adodb_date len=163)
20:12:21 pm PM 02 Sun May 8 20 08 20 12 2 Sunday 1 05 May 5 +0100 RFC2822 Sun, 02 May 1976 20:12:21 +0100 21 31 199912341 0 76 1976 122 3600 2003 Error date(): 199912341
"date +01 1976-05-02 20:12:21 pm PM 02 Sun May 8 20 08 20 12 2 Sunday 1 05 May 5 +0100 RFC2822 Sun, 02 May 1976 20:12:21 +0100 21 31 199912341 0 76 1976 122 3600 2003" (date len=165)
"date +01 1976-05-02 19:12:21 pm PM 02 Sun May 7 19 07 19 12 2 Sunday 1 05 May 5 +0000 RFC2822 Sun, 02 May 1976 19:12:21 +0000 21 31 199912341 0 76 1976 122 0 2003" (adodb_date len=162)
Error getdate() 199912341
Array
(
[seconds] => 21
[minutes] => 12
[hours] => 20
[mday] => 2
[wday] => 0
[mon] => 5
[year] => 1976
[yday] => 122
[weekday] => Sunday
[month] => May
[0] => 199912341
)
Array
(
[seconds] => 21
[minutes] => 12
[hours] => 19
[mday] => 2
[wday] => 0
[mon] => 5
[year] => 1976
[yday] => 122
[weekday] => Sunday
[month] => May
[0] => 199912341
)
20:03:04 pm PM 26 Mon September 8 20 08 20 03 26 Monday 0 09 Sep 9 +0100 RFC2822 Mon, 26 Sep 1977 20:03:04 +0100 04 30 244148584 1 77 1977 268 3600 2003 Error date(): 244148584
"date +01 1977-09-26 20:03:04 pm PM 26 Mon September 8 20 08 20 03 26 Monday 0 09 Sep 9 +0100 RFC2822 Mon, 26 Sep 1977 20:03:04 +0100 04 30 244148584 1 77 1977 268 3600 2003" (date len=172)
"date +01 1977-09-26 19:03:04 pm PM 26 Mon September 7 19 07 19 03 26 Monday 0 09 Sep 9 +0000 RFC2822 Mon, 26 Sep 1977 19:03:04 +0000 04 30 244148584 1 77 1977 268 0 2003" (adodb_date len=169)
Error getdate() 244148584
Array
(
[seconds] => 4
[minutes] => 3
[hours] => 20
[mday] => 26
[wday] => 1
[mon] => 9
[year] => 1977
[yday] => 268
[weekday] => Monday
[month] => September
[0] => 244148584
)
Array
(
[seconds] => 4
[minutes] => 3
[hours] => 19
[mday] => 26
[wday] => 1
[mon] => 9
[year] => 1977
[yday] => 268
[weekday] => Monday
[month] => September
[0] => 244148584
)
5:59:42 pm PM 07 Sun July 3 15 03 15 59 7 Sunday 0 07 Jul 7 +0100 RFC2822 Sun, 07 Jul 1974 15:59:42 +0100 42 31 142441182 0 74 1974 187 3600 2003 Error date(): 142441182
"date +01 1974-07-07 15:59:42 pm PM 07 Sun July 3 15 03 15 59 7 Sunday 0 07 Jul 7 +0100 RFC2822 Sun, 07 Jul 1974 15:59:42 +0100 42 31 142441182 0 74 1974 187 3600 2003" (date len=166)
"date +01 1974-07-07 14:59:42 pm PM 07 Sun July 2 14 02 14 59 7 Sunday 0 07 Jul 7 +0000 RFC2822 Sun, 07 Jul 1974 14:59:42 +0000 42 31 142441182 0 74 1974 187 0 2003" (adodb_date len=163)
Error getdate() 142441182
Array
(
[seconds] => 42
[minutes] => 59
[hours] => 15
[mday] => 7
[wday] => 0
[mon] => 7
[year] => 1974
[yday] => 187
[weekday] => Sunday
[month] => July
[0] => 142441182
)
Array
(
[seconds] => 42
[minutes] => 59
[hours] => 14
[mday] => 7
[wday] => 0
[mon] => 7
[year] => 1974
[yday] => 187
[weekday] => Sunday
[month] => July
[0] => 142441182
)
Testing random dates between 100 and 4000
Testing 1962 to 1974, or 378432000 seconds, offset=51647: 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 Tested 7328 dates
Failed :-(
Original: 2063-12-24