-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

Testing adodb_date and adodb_mktime. version=0.35 PHP=5.5.9-1ubuntu4.29+esm15

adodb: 2024-12-24 21:13:17
php : 2024-12-24 20:13:17
error for %Y %m %x %X, strftime=2024 12 12/24/24 20:13:17, adodb=2024 12 12/24/24 21:13:17
error for %H %M S, strftime=20 13 S, adodb=21 13 S

Testing gregorian <=> julian conversion

-12219386400 -12219300000 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

7:39:58 pm PM 12 Sun April 5 17 05 17 39 12 Sunday 0 04 Apr 4 +0300 RFC2822 Sun, 12 Apr 1981 17:39:58 +0300 58 30 355934398 0 81 1981 101 10800 2003 Error date(): 355934398
 
  "date EEST 1981-04-12 17:39:58 pm PM 12 Sun April 5 17 05 17 39 12 Sunday 0 04 Apr 4 +0300 RFC2822 Sun, 12 Apr 1981 17:39:58 +0300 58 30 355934398 0 81 1981 101 10800 2003" (date len=170)
  "date EEST 1981-04-12 16:39:58 pm PM 12 Sun April 4 16 04 16 39 12 Sunday 0 04 Apr 4 +0200 RFC2822 Sun, 12 Apr 1981 16:39:58 +0200 58 30 355934398 0 81 1981 101 7200 2003" (adodb_date len=169)

Error getdate() 355934398
Array ( [seconds] => 58 [minutes] => 39 [hours] => 17 [mday] => 12 [wday] => 0 [mon] => 4 [year] => 1981 [yday] => 101 [weekday] => Sunday [month] => April [0] => 355934398 )
Array ( [seconds] => 58 [minutes] => 39 [hours] => 16 [mday] => 12 [wday] => 0 [mon] => 4 [year] => 1981 [yday] => 101 [weekday] => Sunday [month] => April [0] => 355934398 )

Testing random dates between 100 and 4000

Testing 1961 to 1973, or 378432000 seconds, offset=48666: 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 Tested 7777 dates

Failed :-(

Original: 2063-12-24
Converted: 24-Dec-2063