<?php
var_dump(new Datetime('now +1 weekday'));
- Output for 8.3.6
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.008690"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.3.5
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.023473"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.3.4
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.007258"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.3.3
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.006835"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.3.2
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004992"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.3.1
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003783"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.3.0
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003895"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.18
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.010900"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.17
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.007059"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.16
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.008334"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.15
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003932"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.14
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003781"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.13
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003928"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.12
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004081"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.11
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.006844"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.10
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.005545"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.9
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003788"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.8
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003893"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.7
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004175"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.6
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003754"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.5
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003840"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.4
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004135"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.3
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003777"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.2
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003721"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.1
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003810"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.2.0
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003668"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.28
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.008111"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.27
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003618"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.26
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003539"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.25
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003730"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.24
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004082"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.23
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.005008"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.22
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003836"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.21
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003665"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.20
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004032"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.19
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003651"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.18
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004105"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.17
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003782"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.16
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003567"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.15
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003488"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.14
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003799"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.13
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003262"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.12
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003566"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.11
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003614"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.10
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003821"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.9
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003599"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.8
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003996"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.7
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004648"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.6
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003602"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.5
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004011"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.4
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003774"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.3
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003989"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.2
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003502"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.1
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003585"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.1.0
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003688"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.30
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003323"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.29
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003871"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.28
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003254"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.27
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003366"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.26
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003123"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.25
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003176"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.24
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003775"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.23
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.004696"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.22
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003391"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.21
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003469"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.20
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003012"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.19
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003735"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.18
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003295"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.17
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003586"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.16
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003327"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.15
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003711"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.14
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.005310"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.13
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 16:54:19.002285"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
- Output for 8.0.12
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003589"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.11
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003631"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 8.0.10
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 17:54:19.003464"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.4.30 - 5.4.45, 5.5.14 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.32, 7.1.0 - 7.1.24, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.9
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.3.32 - 7.3.33
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2015-12-04 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
- Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.29, 5.5.0 - 5.5.13
- object(DateTime)#1 (3) {
["date"]=>
string(19) "2015-12-04 00:00:00"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.2.0 - 5.2.17
- object(DateTime)#1 (0) {
}
- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
- Fatal error: Class 'Datetime' not found in /in/WvqqX on line 3
Process exited with code 255. - Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
- Fatal error: Cannot instantiate non-existent class: datetime in /in/WvqqX on line 3
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Cannot instantiate non-existent class: datetime in /in/WvqqX on line 3
preferences:
296.35 ms | 401 KiB | 417 Q