-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: 2024-12-22 23:49:04error for %Y %m %x %X, strftime=2024 12 12/22/24 22:49:04, adodb=2024 12 12/22/24 23:49:04
php : 2024-12-22 22:49:04
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:33:42 pm PM 15 Wed December 1 13 01 13 33 15 Wednesday 0 12 Dec 12 +0100 RFC2822 Wed, 15 Dec 1982 13:33:42 +0100 42 31 408803622 3 82 1982 348 3600 2003 Error date(): 408803622"date CET 1982-12-15 13:33:42 pm PM 15 Wed December 1 13 01 13 33 15 Wednesday 0 12 Dec 12 +0100 RFC2822 Wed, 15 Dec 1982 13:33:42 +0100 42 31 408803622 3 82 1982 348 3600 2003" (date len=175) "date CET 1982-12-15 14:33:42 pm PM 15 Wed December 2 14 02 14 33 15 Wednesday 0 12 Dec 12 +0200 RFC2822 Wed, 15 Dec 1982 14:33:42 +0200 42 31 408803622 3 82 1982 348 7200 2003" (adodb_date len=175)
1:30:26 am AM 21 Tue July 11 11 11 11 30 21 Tuesday 0 07 Jul 7 +0200 RFC2822 Tue, 21 Jul 1981 11:30:26 +0200 26 31 364555826 2 81 1981 201 7200 2003 Error date(): 364555826
"date CEST 1981-07-21 11:30:26 am AM 21 Tue July 11 11 11 11 30 21 Tuesday 0 07 Jul 7 +0200 RFC2822 Tue, 21 Jul 1981 11:30:26 +0200 26 31 364555826 2 81 1981 201 7200 2003" (date len=170)
"date CEST 1981-07-21 10:30:26 am AM 21 Tue July 10 10 10 10 30 21 Tuesday 0 07 Jul 7 +0100 RFC2822 Tue, 21 Jul 1981 10:30:26 +0100 26 31 364555826 2 81 1981 201 3600 2003" (adodb_date len=170)
Error getdate() 364555826
Array
(
[seconds] => 26
[minutes] => 30
[hours] => 11
[mday] => 21
[wday] => 2
[mon] => 7
[year] => 1981
[yday] => 201
[weekday] => Tuesday
[month] => July
[0] => 364555826
)
Array
(
[seconds] => 26
[minutes] => 30
[hours] => 10
[mday] => 21
[wday] => 2
[mon] => 7
[year] => 1981
[yday] => 201
[weekday] => Tuesday
[month] => July
[0] => 364555826
)
6:16:37 am AM 18 Sat December 6 6 06 06 16 18 Saturday 0 12 Dec 12 +0100 RFC2822 Sat, 18 Dec 1982 06:16:37 +0100 37 31 409036597 6 82 1982 351 3600 2003 Error date(): 409036597
"date CET 1982-12-18 06:16:37 am AM 18 Sat December 6 6 06 06 16 18 Saturday 0 12 Dec 12 +0100 RFC2822 Sat, 18 Dec 1982 06:16:37 +0100 37 31 409036597 6 82 1982 351 3600 2003" (date len=173)
"date CET 1982-12-18 07:16:37 am AM 18 Sat December 7 7 07 07 16 18 Saturday 0 12 Dec 12 +0200 RFC2822 Sat, 18 Dec 1982 07:16:37 +0200 37 31 409036597 6 82 1982 351 7200 2003" (adodb_date len=173)
6:52:51 am AM 03 Sat May 6 6 06 06 52 3 Saturday 1 05 May 5 +0200 RFC2822 Sat, 03 May 1980 06:52:51 +0200 51 31 326177571 6 80 1980 123 7200 2003 Error date(): 326177571
"date CEST 1980-05-03 06:52:51 am AM 03 Sat May 6 6 06 06 52 3 Saturday 1 05 May 5 +0200 RFC2822 Sat, 03 May 1980 06:52:51 +0200 51 31 326177571 6 80 1980 123 7200 2003" (date len=167)
"date CEST 1980-05-03 05:52:51 am AM 03 Sat May 5 5 05 05 52 3 Saturday 1 05 May 5 +0100 RFC2822 Sat, 03 May 1980 05:52:51 +0100 51 31 326177571 6 80 1980 123 3600 2003" (adodb_date len=167)
1:32:33 am AM 23 Fri July 11 11 11 11 32 23 Friday 0 07 Jul 7 +0200 RFC2822 Fri, 23 Jul 1982 11:32:33 +0200 33 31 396264753 5 82 1982 203 7200 2003 Error date(): 396264753
"date CEST 1982-07-23 11:32:33 am AM 23 Fri July 11 11 11 11 32 23 Friday 0 07 Jul 7 +0200 RFC2822 Fri, 23 Jul 1982 11:32:33 +0200 33 31 396264753 5 82 1982 203 7200 2003" (date len=169)
"date CEST 1982-07-23 10:32:33 am AM 23 Fri July 10 10 10 10 32 23 Friday 0 07 Jul 7 +0100 RFC2822 Fri, 23 Jul 1982 10:32:33 +0100 33 31 396264753 5 82 1982 203 3600 2003" (adodb_date len=169)
Error getdate() 396264753
Array
(
[seconds] => 33
[minutes] => 32
[hours] => 11
[mday] => 23
[wday] => 5
[mon] => 7
[year] => 1982
[yday] => 203
[weekday] => Friday
[month] => July
[0] => 396264753
)
Array
(
[seconds] => 33
[minutes] => 32
[hours] => 10
[mday] => 23
[wday] => 5
[mon] => 7
[year] => 1982
[yday] => 203
[weekday] => Friday
[month] => July
[0] => 396264753
)
4:34:12 am AM 17 Wed September 4 4 04 04 34 17 Wednesday 1 09 Sep 9 +0200 RFC2822 Wed, 17 Sep 1980 04:34:12 +0200 12 30 338006052 3 80 1980 260 7200 2003 Error date(): 338006052
"date CEST 1980-09-17 04:34:12 am AM 17 Wed September 4 4 04 04 34 17 Wednesday 1 09 Sep 9 +0200 RFC2822 Wed, 17 Sep 1980 04:34:12 +0200 12 30 338006052 3 80 1980 260 7200 2003" (date len=175)
"date CEST 1980-09-17 03:34:12 am AM 17 Wed September 3 3 03 03 34 17 Wednesday 1 09 Sep 9 +0100 RFC2822 Wed, 17 Sep 1980 03:34:12 +0100 12 30 338006052 3 80 1980 260 3600 2003" (adodb_date len=175)
Error getdate() 338006052
Array
(
[seconds] => 12
[minutes] => 34
[hours] => 4
[mday] => 17
[wday] => 3
[mon] => 9
[year] => 1980
[yday] => 260
[weekday] => Wednesday
[month] => September
[0] => 338006052
)
Array
(
[seconds] => 12
[minutes] => 34
[hours] => 3
[mday] => 17
[wday] => 3
[mon] => 9
[year] => 1980
[yday] => 260
[weekday] => Wednesday
[month] => September
[0] => 338006052
)
9:27:01 am AM 01 Sat May 9 9 09 09 27 1 Saturday 0 05 May 5 +0200 RFC2822 Sat, 01 May 1982 09:27:01 +0200 01 31 389086021 6 82 1982 120 7200 2003 Error date(): 389086021
"date CEST 1982-05-01 09:27:01 am AM 01 Sat May 9 9 09 09 27 1 Saturday 0 05 May 5 +0200 RFC2822 Sat, 01 May 1982 09:27:01 +0200 01 31 389086021 6 82 1982 120 7200 2003" (date len=167)
"date CEST 1982-05-01 08:27:01 am AM 01 Sat May 8 8 08 08 27 1 Saturday 0 05 May 5 +0100 RFC2822 Sat, 01 May 1982 08:27:01 +0100 01 31 389086021 6 82 1982 120 3600 2003" (adodb_date len=167)
Error getdate() 389086021
Array
(
[seconds] => 1
[minutes] => 27
[hours] => 9
[mday] => 1
[wday] => 6
[mon] => 5
[year] => 1982
[yday] => 120
[weekday] => Saturday
[month] => May
[0] => 389086021
)
Array
(
[seconds] => 1
[minutes] => 27
[hours] => 8
[mday] => 1
[wday] => 6
[mon] => 5
[year] => 1982
[yday] => 120
[weekday] => Saturday
[month] => May
[0] => 389086021
)
Testing random dates between 100 and 4000
Testing 1962 to 1974, or 378432000 seconds, offset=63408: 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 Tested 5969 dates
Failed :-(
Original: 2063-12-24