-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-27 18:09:52error for %Y %m %x %X, strftime=2025 04 04/27/25 19:09:52, adodb=2025 04 04/27/25 18:09:52
php : 2025-04-27 19:09:52
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
10:12:05 am AM 22 Mon June 10 10 10 10 12 22 Monday 0 06 Jun 6 +0200 RFC2822 Mon, 22 Jun 1981 10:12:05 +0200 05 30 362045525 1 81 1981 172 7200 2003 Error date(): 362045525"date CEST 1981-06-22 10:12:05 am AM 22 Mon June 10 10 10 10 12 22 Monday 0 06 Jun 6 +0200 RFC2822 Mon, 22 Jun 1981 10:12:05 +0200 05 30 362045525 1 81 1981 172 7200 2003" (date len=169) "date CEST 1981-06-22 09:12:05 am AM 22 Mon June 9 9 09 09 12 22 Monday 0 06 Jun 6 +0100 RFC2822 Mon, 22 Jun 1981 09:12:05 +0100 05 30 362045525 1 81 1981 172 3600 2003" (adodb_date len=167)
1:16:26 pm PM 17 Thu June 9 21 09 21 16 17 Thursday 0 06 Jun 6 +0200 RFC2822 Thu, 17 Jun 1982 21:16:26 +0200 26 30 393189386 4 82 1982 167 7200 2003 Error date(): 393189386
"date CEST 1982-06-17 21:16:26 pm PM 17 Thu June 9 21 09 21 16 17 Thursday 0 06 Jun 6 +0200 RFC2822 Thu, 17 Jun 1982 21:16:26 +0200 26 30 393189386 4 82 1982 167 7200 2003" (date len=170)
"date CEST 1982-06-17 20:16:26 pm PM 17 Thu June 8 20 08 20 16 17 Thursday 0 06 Jun 6 +0100 RFC2822 Thu, 17 Jun 1982 20:16:26 +0100 26 30 393189386 4 82 1982 167 3600 2003" (adodb_date len=170)
Error getdate() 393189386
Array
(
[seconds] => 26
[minutes] => 16
[hours] => 21
[mday] => 17
[wday] => 4
[mon] => 6
[year] => 1982
[yday] => 167
[weekday] => Thursday
[month] => June
[0] => 393189386
)
Array
(
[seconds] => 26
[minutes] => 16
[hours] => 20
[mday] => 17
[wday] => 4
[mon] => 6
[year] => 1982
[yday] => 167
[weekday] => Thursday
[month] => June
[0] => 393189386
)
4:46:41 am AM 30 Wed July 4 4 04 04 46 30 Wednesday 1 07 Jul 7 +0200 RFC2822 Wed, 30 Jul 1980 04:46:41 +0200 41 31 333773201 3 80 1980 211 7200 2003 Error date(): 333773201
"date CEST 1980-07-30 04:46:41 am AM 30 Wed July 4 4 04 04 46 30 Wednesday 1 07 Jul 7 +0200 RFC2822 Wed, 30 Jul 1980 04:46:41 +0200 41 31 333773201 3 80 1980 211 7200 2003" (date len=170)
"date CEST 1980-07-30 03:46:41 am AM 30 Wed July 3 3 03 03 46 30 Wednesday 1 07 Jul 7 +0100 RFC2822 Wed, 30 Jul 1980 03:46:41 +0100 41 31 333773201 3 80 1980 211 3600 2003" (adodb_date len=170)
Error getdate() 333773201
Array
(
[seconds] => 41
[minutes] => 46
[hours] => 4
[mday] => 30
[wday] => 3
[mon] => 7
[year] => 1980
[yday] => 211
[weekday] => Wednesday
[month] => July
[0] => 333773201
)
Array
(
[seconds] => 41
[minutes] => 46
[hours] => 3
[mday] => 30
[wday] => 3
[mon] => 7
[year] => 1980
[yday] => 211
[weekday] => Wednesday
[month] => July
[0] => 333773201
)
2:50:23 pm PM 08 Mon June 10 22 10 22 50 8 Monday 0 06 Jun 6 +0200 RFC2822 Mon, 08 Jun 1981 22:50:23 +0200 23 30 360881423 1 81 1981 158 7200 2003 Error date(): 360881423
"date CEST 1981-06-08 22:50:23 pm PM 08 Mon June 10 22 10 22 50 8 Monday 0 06 Jun 6 +0200 RFC2822 Mon, 08 Jun 1981 22:50:23 +0200 23 30 360881423 1 81 1981 158 7200 2003" (date len=168)
"date CEST 1981-06-08 21:50:23 pm PM 08 Mon June 9 21 09 21 50 8 Monday 0 06 Jun 6 +0100 RFC2822 Mon, 08 Jun 1981 21:50:23 +0100 23 30 360881423 1 81 1981 158 3600 2003" (adodb_date len=167)
Error getdate() 360881423
Array
(
[seconds] => 23
[minutes] => 50
[hours] => 22
[mday] => 8
[wday] => 1
[mon] => 6
[year] => 1981
[yday] => 158
[weekday] => Monday
[month] => June
[0] => 360881423
)
Array
(
[seconds] => 23
[minutes] => 50
[hours] => 21
[mday] => 8
[wday] => 1
[mon] => 6
[year] => 1981
[yday] => 158
[weekday] => Monday
[month] => June
[0] => 360881423
)
9:58:50 am AM 07 Tue July 9 9 09 09 58 7 Tuesday 0 07 Jul 7 +0200 RFC2822 Tue, 07 Jul 1981 09:58:50 +0200 50 31 363340730 2 81 1981 187 7200 2003 Error date(): 363340730
"date CEST 1981-07-07 09:58:50 am AM 07 Tue July 9 9 09 09 58 7 Tuesday 0 07 Jul 7 +0200 RFC2822 Tue, 07 Jul 1981 09:58:50 +0200 50 31 363340730 2 81 1981 187 7200 2003" (date len=167)
"date CEST 1981-07-07 08:58:50 am AM 07 Tue July 8 8 08 08 58 7 Tuesday 0 07 Jul 7 +0100 RFC2822 Tue, 07 Jul 1981 08:58:50 +0100 50 31 363340730 2 81 1981 187 3600 2003" (adodb_date len=167)
Error getdate() 363340730
Array
(
[seconds] => 50
[minutes] => 58
[hours] => 9
[mday] => 7
[wday] => 2
[mon] => 7
[year] => 1981
[yday] => 187
[weekday] => Tuesday
[month] => July
[0] => 363340730
)
Array
(
[seconds] => 50
[minutes] => 58
[hours] => 8
[mday] => 7
[wday] => 2
[mon] => 7
[year] => 1981
[yday] => 187
[weekday] => Tuesday
[month] => July
[0] => 363340730
)
2:01:40 pm PM 08 Sun August 12 12 12 12 01 8 Sunday 0 08 Aug 8 +0200 RFC2822 Sun, 08 Aug 1982 12:01:40 +0200 40 31 397648900 0 82 1982 219 7200 2003 Error date(): 397648900
"date CEST 1982-08-08 12:01:40 pm PM 08 Sun August 12 12 12 12 01 8 Sunday 0 08 Aug 8 +0200 RFC2822 Sun, 08 Aug 1982 12:01:40 +0200 40 31 397648900 0 82 1982 219 7200 2003" (date len=170)
"date CEST 1982-08-08 11:01:40 am AM 08 Sun August 11 11 11 11 01 8 Sunday 0 08 Aug 8 +0100 RFC2822 Sun, 08 Aug 1982 11:01:40 +0100 40 31 397648900 0 82 1982 219 3600 2003" (adodb_date len=170)
Error getdate() 397648900
Array
(
[seconds] => 40
[minutes] => 1
[hours] => 12
[mday] => 8
[wday] => 0
[mon] => 8
[year] => 1982
[yday] => 219
[weekday] => Sunday
[month] => August
[0] => 397648900
)
Array
(
[seconds] => 40
[minutes] => 1
[hours] => 11
[mday] => 8
[wday] => 0
[mon] => 8
[year] => 1982
[yday] => 219
[weekday] => Sunday
[month] => August
[0] => 397648900
)
9:24:01 pm PM 04 Tue August 7 19 07 19 24 4 Tuesday 0 08 Aug 8 +0200 RFC2822 Tue, 04 Aug 1981 19:24:01 +0200 01 31 365793841 2 81 1981 215 7200 2003 Error date(): 365793841
"date CEST 1981-08-04 19:24:01 pm PM 04 Tue August 7 19 07 19 24 4 Tuesday 0 08 Aug 8 +0200 RFC2822 Tue, 04 Aug 1981 19:24:01 +0200 01 31 365793841 2 81 1981 215 7200 2003" (date len=170)
"date CEST 1981-08-04 18:24:01 pm PM 04 Tue August 6 18 06 18 24 4 Tuesday 0 08 Aug 8 +0100 RFC2822 Tue, 04 Aug 1981 18:24:01 +0100 01 31 365793841 2 81 1981 215 3600 2003" (adodb_date len=170)
Error getdate() 365793841
Array
(
[seconds] => 1
[minutes] => 24
[hours] => 19
[mday] => 4
[wday] => 2
[mon] => 8
[year] => 1981
[yday] => 215
[weekday] => Tuesday
[month] => August
[0] => 365793841
)
Array
(
[seconds] => 1
[minutes] => 24
[hours] => 18
[mday] => 4
[wday] => 2
[mon] => 8
[year] => 1981
[yday] => 215
[weekday] => Tuesday
[month] => August
[0] => 365793841
)
4:59:57 pm PM 04 Wed June 2 14 02 14 59 4 Wednesday 1 06 Jun 6 +0200 RFC2822 Wed, 04 Jun 1980 14:59:57 +0200 57 30 328971597 3 80 1980 155 7200 2003 Error date(): 328971597
"date CEST 1980-06-04 14:59:57 pm PM 04 Wed June 2 14 02 14 59 4 Wednesday 1 06 Jun 6 +0200 RFC2822 Wed, 04 Jun 1980 14:59:57 +0200 57 30 328971597 3 80 1980 155 7200 2003" (date len=170)
"date CEST 1980-06-04 13:59:57 pm PM 04 Wed June 1 13 01 13 59 4 Wednesday 1 06 Jun 6 +0100 RFC2822 Wed, 04 Jun 1980 13:59:57 +0100 57 30 328971597 3 80 1980 155 3600 2003" (adodb_date len=170)
Error getdate() 328971597
Array
(
[seconds] => 57
[minutes] => 59
[hours] => 14
[mday] => 4
[wday] => 3
[mon] => 6
[year] => 1980
[yday] => 155
[weekday] => Wednesday
[month] => June
[0] => 328971597
)
Array
(
[seconds] => 57
[minutes] => 59
[hours] => 13
[mday] => 4
[wday] => 3
[mon] => 6
[year] => 1980
[yday] => 155
[weekday] => Wednesday
[month] => June
[0] => 328971597
)
4:05:51 am AM 04 Thu June 4 4 04 04 05 4 Thursday 0 06 Jun 6 +0200 RFC2822 Thu, 04 Jun 1981 04:05:51 +0200 51 30 360468351 4 81 1981 154 7200 2003 Error date(): 360468351
"date CEST 1981-06-04 04:05:51 am AM 04 Thu June 4 4 04 04 05 4 Thursday 0 06 Jun 6 +0200 RFC2822 Thu, 04 Jun 1981 04:05:51 +0200 51 30 360468351 4 81 1981 154 7200 2003" (date len=168)
"date CEST 1981-06-04 03:05:51 am AM 04 Thu June 3 3 03 03 05 4 Thursday 0 06 Jun 6 +0100 RFC2822 Thu, 04 Jun 1981 03:05:51 +0100 51 30 360468351 4 81 1981 154 3600 2003" (adodb_date len=168)
Testing random dates between 100 and 4000
Testing 1960 to 1972, or 378432000 seconds, offset=47451: 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 Tested 7976 dates
Failed :-(
Original: 2063-12-24