<?php
var_dump((DateTime::createFromFormat('Y-m-d', '2016-01-08')));
- Output for 5.6.28, 7.0.20, 7.1.0 - 7.1.30, 7.1.32 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.6, 7.3.8 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 10:39:15.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.3.32 - 7.3.33, 8.0.13
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 09:39:15.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
- Output for 7.1.31, 7.3.7
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 10:39:16.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.6
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 13:31:15.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.5
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 09:31:39.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.4
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 21:38:14.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.3
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 23:03:36.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.2
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 05:16:48.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.1
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 08:22:51.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.0
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 10:16:08.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.21
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 16:25:02.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.20
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 08:33:40.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.19
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 05:46:53.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.18
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 14:44:23.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.17
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 02:16:58.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.16
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 11:05:44.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.15
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 11:54:41.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.14
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 17:37:28.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.13
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 18:16:33.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.12
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 08:45:45.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.11
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 15:11:50.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.10
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 17:17:35.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.9
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 22:43:51.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.8
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 07:13:27.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.35
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 02:26:01.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.34
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 10:47:32.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.33
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 08:45:53.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.32
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 18:41:16.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.31
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 05:26:36.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.30
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 13:46:52.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.29
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 08:34:18.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.28
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 12:04:52.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.27
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 13:42:33.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.26
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 19:58:33.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.25
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 03:24:24.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.24
- object(DateTime)#1 (3) {
["date"]=>
string(26) "2016-01-08 09:47:28.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
preferences:
191.76 ms | 401 KiB | 229 Q