-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-11-14 18:59:18
php : 2024-11-14 18:59:18
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
2:54:53 am AM 04 Sat April 2 2 02 02 54 4 Saturday 0 04 Apr 4 +0200 RFC2822 Sat, 04 Apr 1981 02:54:53 +0200 53 30 355193693 6 81 1981 93 7200 2003 Error date(): 355193693"date CEST 1981-04-04 02:54:53 am AM 04 Sat April 2 2 02 02 54 4 Saturday 0 04 Apr 4 +0200 RFC2822 Sat, 04 Apr 1981 02:54:53 +0200 53 30 355193693 6 81 1981 93 7200 2003" (date len=168) "date CEST 1981-04-04 01:54:53 am AM 04 Sat April 1 1 01 01 54 4 Saturday 0 04 Apr 4 +0100 RFC2822 Sat, 04 Apr 1981 01:54:53 +0100 53 30 355193693 6 81 1981 93 3600 2003" (adodb_date len=168)
3:53:08 pm PM 13 Fri August 1 13 01 13 53 13 Friday 0 08 Aug 8 +0200 RFC2822 Fri, 13 Aug 1982 13:53:08 +0200 08 31 398087588 5 82 1982 224 7200 2003 Error date(): 398087588
"date CEST 1982-08-13 13:53:08 pm PM 13 Fri August 1 13 01 13 53 13 Friday 0 08 Aug 8 +0200 RFC2822 Fri, 13 Aug 1982 13:53:08 +0200 08 31 398087588 5 82 1982 224 7200 2003" (date len=170)
"date CEST 1982-08-13 12:53:08 pm PM 13 Fri August 12 12 12 12 53 13 Friday 0 08 Aug 8 +0100 RFC2822 Fri, 13 Aug 1982 12:53:08 +0100 08 31 398087588 5 82 1982 224 3600 2003" (adodb_date len=171)
9:57:03 pm PM 15 Sun June 7 19 07 19 57 15 Sunday 1 06 Jun 6 +0200 RFC2822 Sun, 15 Jun 1980 19:57:03 +0200 03 30 329939823 0 80 1980 166 7200 2003 Error date(): 329939823
"date CEST 1980-06-15 19:57:03 pm PM 15 Sun June 7 19 07 19 57 15 Sunday 1 06 Jun 6 +0200 RFC2822 Sun, 15 Jun 1980 19:57:03 +0200 03 30 329939823 0 80 1980 166 7200 2003" (date len=168)
"date CEST 1980-06-15 18:57:03 pm PM 15 Sun June 6 18 06 18 57 15 Sunday 1 06 Jun 6 +0100 RFC2822 Sun, 15 Jun 1980 18:57:03 +0100 03 30 329939823 0 80 1980 166 3600 2003" (adodb_date len=168)
Error getdate() 329939823
Array
(
[seconds] => 3
[minutes] => 57
[hours] => 19
[mday] => 15
[wday] => 0
[mon] => 6
[year] => 1980
[yday] => 166
[weekday] => Sunday
[month] => June
[0] => 329939823
)
Array
(
[seconds] => 3
[minutes] => 57
[hours] => 18
[mday] => 15
[wday] => 0
[mon] => 6
[year] => 1980
[yday] => 166
[weekday] => Sunday
[month] => June
[0] => 329939823
)
Testing random dates between 100 and 4000
Testing 1969 to 1981, or 378432000 seconds, offset=70356: 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 Tested 5379 dates
Failed :-(
Original: 2063-12-24