-24 :
Warning: mktime() expects at most 6 parameters, 7 given in /opt/lampp/htdocs/tarki_survey/leiratkozasg/classes/adodb/adodb-time.inc.php on line 732

Warning: gmmktime() expects at most 6 parameters, 7 given in /opt/lampp/htdocs/tarki_survey/leiratkozasg/classes/adodb/adodb-time.inc.php on line 732
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.33 PHP=7.4.33

adodb: 2024-12-22 06:06:04
php : 2024-12-22 05:06:04
error for %Y %m %x %X, strftime=2024 12 12/22/24 05:06:04, adodb=2024 12 12/22/24 06:06:04
error for %H %M S, strftime=05 06 S, adodb=06 06 S

Testing gregorian <=> julian conversion

-12219379200 -12219292800 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:20:55 am AM 11 Fri April 7 7 07 07 20 11 Friday 1 04 Apr 4 +0200 RFC2822 Fri, 11 Apr 1980 07:20:55 +0200 55 30 324278455 5 80 1980 101 7200 2003 Error date(): 324278455
 
  "date CEST 1980-04-11 07:20:55 am AM 11 Fri April 7 7 07 07 20 11 Friday 1 04 Apr 4 +0200 RFC2822 Fri, 11 Apr 1980 07:20:55 +0200 55 30 324278455 5 80 1980 101 7200 2003" (date len=168)
  "date CEST 1980-04-11 06:20:55 am AM 11 Fri April 6 6 06 06 20 11 Friday 1 04 Apr 4 +0100 RFC2822 Fri, 11 Apr 1980 06:20:55 +0100 55 30 324278455 5 80 1980 101 3600 2003" (adodb_date len=168)

Error getdate() 324278455
Array ( [seconds] => 55 [minutes] => 20 [hours] => 7 [mday] => 11 [wday] => 5 [mon] => 4 [year] => 1980 [yday] => 101 [weekday] => Friday [month] => April [0] => 324278455 )
Array ( [seconds] => 55 [minutes] => 20 [hours] => 6 [mday] => 11 [wday] => 5 [mon] => 4 [year] => 1980 [yday] => 101 [weekday] => Friday [month] => April [0] => 324278455 )

1:49:04 am AM 26 Fri September 11 11 11 11 49 26 Friday 1 09 Sep 9 +0200 RFC2822 Fri, 26 Sep 1980 11:49:04 +0200 04 30 338809744 5 80 1980 269 7200 2003 Error date(): 338809744

 
  "date CEST 1980-09-26 11:49:04 am AM 26 Fri September 11 11 11 11 49 26 Friday 1 09 Sep 9 +0200 RFC2822 Fri, 26 Sep 1980 11:49:04 +0200 04 30 338809744 5 80 1980 269 7200 2003" (date len=174)
  "date CEST 1980-09-26 10:49:04 am AM 26 Fri September 10 10 10 10 49 26 Friday 1 09 Sep 9 +0100 RFC2822 Fri, 26 Sep 1980 10:49:04 +0100 04 30 338809744 5 80 1980 269 3600 2003" (adodb_date len=174)

Error getdate() 338809744
Array ( [seconds] => 4 [minutes] => 49 [hours] => 11 [mday] => 26 [wday] => 5 [mon] => 9 [year] => 1980 [yday] => 269 [weekday] => Friday [month] => September [0] => 338809744 )
Array ( [seconds] => 4 [minutes] => 49 [hours] => 10 [mday] => 26 [wday] => 5 [mon] => 9 [year] => 1980 [yday] => 269 [weekday] => Friday [month] => September [0] => 338809744 )

5:11:12 am AM 04 Sat April 5 5 05 05 11 4 Saturday 0 04 Apr 4 +0200 RFC2822 Sat, 04 Apr 1981 05:11:12 +0200 12 30 355201872 6 81 1981 93 7200 2003 Error date(): 355201872

 
  "date CEST 1981-04-04 05:11:12 am AM 04 Sat April 5 5 05 05 11 4 Saturday 0 04 Apr 4 +0200 RFC2822 Sat, 04 Apr 1981 05:11:12 +0200 12 30 355201872 6 81 1981 93 7200 2003" (date len=168)
  "date CEST 1981-04-04 04:11:12 am AM 04 Sat April 4 4 04 04 11 4 Saturday 0 04 Apr 4 +0100 RFC2822 Sat, 04 Apr 1981 04:11:12 +0100 12 30 355201872 6 81 1981 93 3600 2003" (adodb_date len=168)

Error getdate() 355201872
Array ( [seconds] => 12 [minutes] => 11 [hours] => 5 [mday] => 4 [wday] => 6 [mon] => 4 [year] => 1981 [yday] => 93 [weekday] => Saturday [month] => April [0] => 355201872 )
Array ( [seconds] => 12 [minutes] => 11 [hours] => 4 [mday] => 4 [wday] => 6 [mon] => 4 [year] => 1981 [yday] => 93 [weekday] => Saturday [month] => April [0] => 355201872 )

4:05:38 am AM 10 Fri July 4 4 04 04 05 10 Friday 0 07 Jul 7 +0200 RFC2822 Fri, 10 Jul 1981 04:05:38 +0200 38 31 363578738 5 81 1981 190 7200 2003 Error date(): 363578738

 
  "date CEST 1981-07-10 04:05:38 am AM 10 Fri July 4 4 04 04 05 10 Friday 0 07 Jul 7 +0200 RFC2822 Fri, 10 Jul 1981 04:05:38 +0200 38 31 363578738 5 81 1981 190 7200 2003" (date len=167)
  "date CEST 1981-07-10 03:05:38 am AM 10 Fri July 3 3 03 03 05 10 Friday 0 07 Jul 7 +0100 RFC2822 Fri, 10 Jul 1981 03:05:38 +0100 38 31 363578738 5 81 1981 190 3600 2003" (adodb_date len=167)

Error getdate() 363578738
Array ( [seconds] => 38 [minutes] => 5 [hours] => 4 [mday] => 10 [wday] => 5 [mon] => 7 [year] => 1981 [yday] => 190 [weekday] => Friday [month] => July [0] => 363578738 )
Array ( [seconds] => 38 [minutes] => 5 [hours] => 3 [mday] => 10 [wday] => 5 [mon] => 7 [year] => 1981 [yday] => 190 [weekday] => Friday [month] => July [0] => 363578738 )

2:54:09 am AM 08 Wed July 2 2 02 02 54 8 Wednesday 0 07 Jul 7 +0200 RFC2822 Wed, 08 Jul 1981 02:54:09 +0200 09 31 363401649 3 81 1981 188 7200 2003 Error date(): 363401649

 
  "date CEST 1981-07-08 02:54:09 am AM 08 Wed July 2 2 02 02 54 8 Wednesday 0 07 Jul 7 +0200 RFC2822 Wed, 08 Jul 1981 02:54:09 +0200 09 31 363401649 3 81 1981 188 7200 2003" (date len=169)
  "date CEST 1981-07-08 01:54:09 am AM 08 Wed July 1 1 01 01 54 8 Wednesday 0 07 Jul 7 +0100 RFC2822 Wed, 08 Jul 1981 01:54:09 +0100 09 31 363401649 3 81 1981 188 3600 2003" (adodb_date len=169)

Error getdate() 363401649
Array ( [seconds] => 9 [minutes] => 54 [hours] => 2 [mday] => 8 [wday] => 3 [mon] => 7 [year] => 1981 [yday] => 188 [weekday] => Wednesday [month] => July [0] => 363401649 )
Array ( [seconds] => 9 [minutes] => 54 [hours] => 1 [mday] => 8 [wday] => 3 [mon] => 7 [year] => 1981 [yday] => 188 [weekday] => Wednesday [month] => July [0] => 363401649 )

3:40:47 pm PM 07 Tue April 1 13 01 13 40 7 Tuesday 0 04 Apr 4 +0200 RFC2822 Tue, 07 Apr 1981 13:40:47 +0200 47 30 355491647 2 81 1981 96 7200 2003 Error date(): 355491647

 
  "date CEST 1981-04-07 13:40:47 pm PM 07 Tue April 1 13 01 13 40 7 Tuesday 0 04 Apr 4 +0200 RFC2822 Tue, 07 Apr 1981 13:40:47 +0200 47 30 355491647 2 81 1981 96 7200 2003" (date len=168)
  "date CEST 1981-04-07 12:40:47 pm PM 07 Tue April 12 12 12 12 40 7 Tuesday 0 04 Apr 4 +0100 RFC2822 Tue, 07 Apr 1981 12:40:47 +0100 47 30 355491647 2 81 1981 96 3600 2003" (adodb_date len=169)

Error getdate() 355491647
Array ( [seconds] => 47 [minutes] => 40 [hours] => 13 [mday] => 7 [wday] => 2 [mon] => 4 [year] => 1981 [yday] => 96 [weekday] => Tuesday [month] => April [0] => 355491647 )
Array ( [seconds] => 47 [minutes] => 40 [hours] => 12 [mday] => 7 [wday] => 2 [mon] => 4 [year] => 1981 [yday] => 96 [weekday] => Tuesday [month] => April [0] => 355491647 )

5:04:12 am AM 19 Sat July 5 5 05 05 04 19 Saturday 1 07 Jul 7 +0200 RFC2822 Sat, 19 Jul 1980 05:04:12 +0200 12 31 332823852 6 80 1980 200 7200 2003 Error date(): 332823852

 
  "date CEST 1980-07-19 05:04:12 am AM 19 Sat July 5 5 05 05 04 19 Saturday 1 07 Jul 7 +0200 RFC2822 Sat, 19 Jul 1980 05:04:12 +0200 12 31 332823852 6 80 1980 200 7200 2003" (date len=169)
  "date CEST 1980-07-19 04:04:12 am AM 19 Sat July 4 4 04 04 04 19 Saturday 1 07 Jul 7 +0100 RFC2822 Sat, 19 Jul 1980 04:04:12 +0100 12 31 332823852 6 80 1980 200 3600 2003" (adodb_date len=169)

Error getdate() 332823852
Array ( [seconds] => 12 [minutes] => 4 [hours] => 5 [mday] => 19 [wday] => 6 [mon] => 7 [year] => 1980 [yday] => 200 [weekday] => Saturday [month] => July [0] => 332823852 )
Array ( [seconds] => 12 [minutes] => 4 [hours] => 4 [mday] => 19 [wday] => 6 [mon] => 7 [year] => 1980 [yday] => 200 [weekday] => Saturday [month] => July [0] => 332823852 )

8:16:10 am AM 31 Thu December 8 8 08 08 16 31 Thursday 0 12 Dec 12 +0100 RFC2822 Thu, 31 Dec 1981 08:16:10 +0100 10 31 378630970 4 81 1981 364 3600 2003 Error date(): 378630970

 
  "date CET 1981-12-31 08:16:10 am AM 31 Thu December 8 8 08 08 16 31 Thursday 0 12 Dec 12 +0100 RFC2822 Thu, 31 Dec 1981 08:16:10 +0100 10 31 378630970 4 81 1981 364 3600 2003" (date len=173)
  "date CET 1981-12-31 09:16:10 am AM 31 Thu December 9 9 09 09 16 31 Thursday 0 12 Dec 12 +0200 RFC2822 Thu, 31 Dec 1981 09:16:10 +0200 10 31 378630970 4 81 1981 364 7200 2003" (adodb_date len=173)

Error getdate() 378630970
Array ( [seconds] => 10 [minutes] => 16 [hours] => 8 [mday] => 31 [wday] => 4 [mon] => 12 [year] => 1981 [yday] => 364 [weekday] => Thursday [month] => December [0] => 378630970 )
Array ( [seconds] => 10 [minutes] => 16 [hours] => 9 [mday] => 31 [wday] => 4 [mon] => 12 [year] => 1981 [yday] => 364 [weekday] => Thursday [month] => December [0] => 378630970 )

2:49:41 am AM 15 Fri August 2 2 02 02 49 15 Friday 1 08 Aug 8 +0200 RFC2822 Fri, 15 Aug 1980 02:49:41 +0200 41 31 335148581 5 80 1980 227 7200 2003 Error date(): 335148581

 
  "date CEST 1980-08-15 02:49:41 am AM 15 Fri August 2 2 02 02 49 15 Friday 1 08 Aug 8 +0200 RFC2822 Fri, 15 Aug 1980 02:49:41 +0200 41 31 335148581 5 80 1980 227 7200 2003" (date len=169)
  "date CEST 1980-08-15 01:49:41 am AM 15 Fri August 1 1 01 01 49 15 Friday 1 08 Aug 8 +0100 RFC2822 Fri, 15 Aug 1980 01:49:41 +0100 41 31 335148581 5 80 1980 227 3600 2003" (adodb_date len=169)

Error getdate() 335148581
Array ( [seconds] => 41 [minutes] => 49 [hours] => 2 [mday] => 15 [wday] => 5 [mon] => 8 [year] => 1980 [yday] => 227 [weekday] => Friday [month] => August [0] => 335148581 )
Array ( [seconds] => 41 [minutes] => 49 [hours] => 1 [mday] => 15 [wday] => 5 [mon] => 8 [year] => 1980 [yday] => 227 [weekday] => Friday [month] => August [0] => 335148581 )

10:52:53 am AM 05 Mon May 10 10 10 10 52 5 Monday 1 05 May 5 +0200 RFC2822 Mon, 05 May 1980 10:52:53 +0200 53 31 326364773 1 80 1980 125 7200 2003 Error date(): 326364773

 
  "date CEST 1980-05-05 10:52:53 am AM 05 Mon May 10 10 10 10 52 5 Monday 1 05 May 5 +0200 RFC2822 Mon, 05 May 1980 10:52:53 +0200 53 31 326364773 1 80 1980 125 7200 2003" (date len=167)
  "date CEST 1980-05-05 09:52:53 am AM 05 Mon May 9 9 09 09 52 5 Monday 1 05 May 5 +0100 RFC2822 Mon, 05 May 1980 09:52:53 +0100 53 31 326364773 1 80 1980 125 3600 2003" (adodb_date len=165)

Error getdate() 326364773
Array ( [seconds] => 53 [minutes] => 52 [hours] => 10 [mday] => 5 [wday] => 1 [mon] => 5 [year] => 1980 [yday] => 125 [weekday] => Monday [month] => May [0] => 326364773 )
Array ( [seconds] => 53 [minutes] => 52 [hours] => 9 [mday] => 5 [wday] => 1 [mon] => 5 [year] => 1980 [yday] => 125 [weekday] => Monday [month] => May [0] => 326364773 )

7:59:04 am AM 10 Thu April 7 7 07 07 59 10 Thursday 1 04 Apr 4 +0200 RFC2822 Thu, 10 Apr 1980 07:59:04 +0200 04 30 324194344 4 80 1980 100 7200 2003 Error date(): 324194344

 
  "date CEST 1980-04-10 07:59:04 am AM 10 Thu April 7 7 07 07 59 10 Thursday 1 04 Apr 4 +0200 RFC2822 Thu, 10 Apr 1980 07:59:04 +0200 04 30 324194344 4 80 1980 100 7200 2003" (date len=170)
  "date CEST 1980-04-10 06:59:04 am AM 10 Thu April 6 6 06 06 59 10 Thursday 1 04 Apr 4 +0100 RFC2822 Thu, 10 Apr 1980 06:59:04 +0100 04 30 324194344 4 80 1980 100 3600 2003" (adodb_date len=170)

Error getdate() 324194344
Array ( [seconds] => 4 [minutes] => 59 [hours] => 7 [mday] => 10 [wday] => 4 [mon] => 4 [year] => 1980 [yday] => 100 [weekday] => Thursday [month] => April [0] => 324194344 )
Array ( [seconds] => 4 [minutes] => 59 [hours] => 6 [mday] => 10 [wday] => 4 [mon] => 4 [year] => 1980 [yday] => 100 [weekday] => Thursday [month] => April [0] => 324194344 )

4:18:31 pm PM 25 Mon July 2 14 02 14 18 25 Monday 0 07 Jul 7 +0200 RFC2822 Mon, 25 Jul 1983 14:18:31 +0200 31 31 427983511 1 83 1983 205 7200 2003 Error date(): 427983511

 
  "date CEST 1983-07-25 14:18:31 pm PM 25 Mon July 2 14 02 14 18 25 Monday 0 07 Jul 7 +0200 RFC2822 Mon, 25 Jul 1983 14:18:31 +0200 31 31 427983511 1 83 1983 205 7200 2003" (date len=168)
  "date CEST 1983-07-25 13:18:31 pm PM 25 Mon July 1 13 01 13 18 25 Monday 0 07 Jul 7 +0100 RFC2822 Mon, 25 Jul 1983 13:18:31 +0100 31 31 427983511 1 83 1983 205 3600 2003" (adodb_date len=168)

Error getdate() 427983511
Array ( [seconds] => 31 [minutes] => 18 [hours] => 14 [mday] => 25 [wday] => 1 [mon] => 7 [year] => 1983 [yday] => 205 [weekday] => Monday [month] => July [0] => 427983511 )
Array ( [seconds] => 31 [minutes] => 18 [hours] => 13 [mday] => 25 [wday] => 1 [mon] => 7 [year] => 1983 [yday] => 205 [weekday] => Monday [month] => July [0] => 427983511 )

2:25:00 pm PM 30 Sun November 12 12 12 12 25 30 Sunday 1 11 Nov 11 +0100 RFC2822 Sun, 30 Nov 1980 12:25:00 +0100 00 30 344431500 0 80 1980 334 3600 2003 Error date(): 344431500

 
  "date CET 1980-11-30 12:25:00 pm PM 30 Sun November 12 12 12 12 25 30 Sunday 1 11 Nov 11 +0100 RFC2822 Sun, 30 Nov 1980 12:25:00 +0100 00 30 344431500 0 80 1980 334 3600 2003" (date len=173)
  "date CET 1980-11-30 13:25:00 pm PM 30 Sun November 1 13 01 13 25 30 Sunday 1 11 Nov 11 +0200 RFC2822 Sun, 30 Nov 1980 13:25:00 +0200 00 30 344431500 0 80 1980 334 7200 2003" (adodb_date len=172)

Error getdate() 344431500
Array ( [seconds] => 0 [minutes] => 25 [hours] => 12 [mday] => 30 [wday] => 0 [mon] => 11 [year] => 1980 [yday] => 334 [weekday] => Sunday [month] => November [0] => 344431500 )
Array ( [seconds] => 0 [minutes] => 25 [hours] => 13 [mday] => 30 [wday] => 0 [mon] => 11 [year] => 1980 [yday] => 334 [weekday] => Sunday [month] => November [0] => 344431500 )

3:14:43 pm PM 09 Mon May 1 13 01 13 14 9 Monday 0 05 May 5 +0200 RFC2822 Mon, 09 May 1983 13:14:43 +0200 43 31 421326883 1 83 1983 128 7200 2003 Error date(): 421326883

 
  "date CEST 1983-05-09 13:14:43 pm PM 09 Mon May 1 13 01 13 14 9 Monday 0 05 May 5 +0200 RFC2822 Mon, 09 May 1983 13:14:43 +0200 43 31 421326883 1 83 1983 128 7200 2003" (date len=166)
  "date CEST 1983-05-09 12:14:43 pm PM 09 Mon May 12 12 12 12 14 9 Monday 0 05 May 5 +0100 RFC2822 Mon, 09 May 1983 12:14:43 +0100 43 31 421326883 1 83 1983 128 3600 2003" (adodb_date len=167)

Error getdate() 421326883
Array ( [seconds] => 43 [minutes] => 14 [hours] => 13 [mday] => 9 [wday] => 1 [mon] => 5 [year] => 1983 [yday] => 128 [weekday] => Monday [month] => May [0] => 421326883 )
Array ( [seconds] => 43 [minutes] => 14 [hours] => 12 [mday] => 9 [wday] => 1 [mon] => 5 [year] => 1983 [yday] => 128 [weekday] => Monday [month] => May [0] => 421326883 )

5:09:29 am AM 23 Wed July 5 5 05 05 09 23 Wednesday 1 07 Jul 7 +0200 RFC2822 Wed, 23 Jul 1980 05:09:29 +0200 29 31 333169769 3 80 1980 204 7200 2003 Error date(): 333169769

 
  "date CEST 1980-07-23 05:09:29 am AM 23 Wed July 5 5 05 05 09 23 Wednesday 1 07 Jul 7 +0200 RFC2822 Wed, 23 Jul 1980 05:09:29 +0200 29 31 333169769 3 80 1980 204 7200 2003" (date len=170)
  "date CEST 1980-07-23 04:09:29 am AM 23 Wed July 4 4 04 04 09 23 Wednesday 1 07 Jul 7 +0100 RFC2822 Wed, 23 Jul 1980 04:09:29 +0100 29 31 333169769 3 80 1980 204 3600 2003" (adodb_date len=170)

Error getdate() 333169769
Array ( [seconds] => 29 [minutes] => 9 [hours] => 5 [mday] => 23 [wday] => 3 [mon] => 7 [year] => 1980 [yday] => 204 [weekday] => Wednesday [month] => July [0] => 333169769 )
Array ( [seconds] => 29 [minutes] => 9 [hours] => 4 [mday] => 23 [wday] => 3 [mon] => 7 [year] => 1980 [yday] => 204 [weekday] => Wednesday [month] => July [0] => 333169769 )

Testing random dates between 100 and 4000

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

Failed :-(

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