<?php
$dt = new DateTime('2014-03-11 10:28:12.129817');
echo $dt->getTimestamp() * 1000;
echo "\n";
$date = new DateTime();
echo $date->getTimestamp() * 1000;
- Output for 5.6.28, 7.0.14 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 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.7
- 1394530092000
1394508479000
- Output for 7.3.32 - 7.3.33, 8.0.13
- 1394533692000
1394508479000
- Output for 7.0.6
- 1394530092000
1462260516000
- Output for 7.0.5
- 1394530092000
1459628483000
- Output for 7.0.4
- 1394530092000
1457596285000
- Output for 7.0.3
- 1394530092000
1458289700000
- Output for 7.0.2
- 1394530092000
1458656530000
- Output for 7.0.1
- 1394530092000
1458760146000
- Output for 7.0.0
- 1394530092000
1459024927000
- Output for 5.6.21
- 1394530092000
1462157407000
- Output for 5.6.20
- 1394530092000
1460229472000
- Output for 5.6.19
- 1394530092000
1457366410000
- Output for 5.6.18
- 1394530092000
1457999593000
- Output for 5.6.17
- 1394530092000
1458391463000
- Output for 5.6.16
- 1394530092000
1459114050000
- Output for 5.6.15
- 1394530092000
1459203969000
- Output for 5.6.14
- 1394530092000
1459558416000
- Output for 5.6.13
- 1394530092000
1460695680000
- Output for 5.6.12
- 1394530092000
1461090708000
- Output for 5.6.11
- 1394530092000
1461375353000
- Output for 5.6.10
- 1394530092000
1461554362000
- Output for 5.6.9
- 1394530092000
1461745035000
- Output for 5.6.8
- 1394530092000
1461946932000
- Output for 5.5.35
- 1394530092000
1463898850000
- Output for 5.5.34
- 1394530092000
1460324306000
- Output for 5.5.33
- 1394530092000
1457463373000
- Output for 5.5.32
- 1394530092000
1458178621000
- Output for 5.5.31
- 1394530092000
1458487814000
- Output for 5.5.30
- 1394530092000
1459470494000
- Output for 5.5.29
- 1394530092000
1460832791000
- Output for 5.5.28
- 1394530092000
1461188226000
- Output for 5.5.27
- 1394530092000
1461283606000
- Output for 5.5.26
- 1394530092000
1461649598000
- Output for 5.5.25
- 1394530092000
1461845061000
- Output for 5.5.24
- 1394530092000
1464030414000
- Output for 5.4.45
- 1394530092000
1448011922000
- Output for 5.4.44
- 1394530092000
1448011923000
- Output for 5.4.41 - 5.4.43
- 1394530092000
1448011924000
- Output for 5.4.39 - 5.4.40
- 1394530092000
1448011925000
- Output for 5.4.35 - 5.4.38
- 1394530092000
1448011926000
- Output for 5.4.34
- 1394530092000
1448011927000
- Output for 5.3.29, 5.4.30 - 5.4.32
- 1394530092000
1448011928000
- Output for 5.4.26 - 5.4.29
- 1394530092000
1448011929000
- Output for 5.3.28, 5.4.23 - 5.4.25
- 1394530092000
1448011930000
- Output for 5.4.20 - 5.4.22
- 1394530092000
1448011931000
- Output for 5.3.27, 5.4.17 - 5.4.19
- 1394530092000
1448011932000
- Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.16
- 1394530092000
1448011933000
- Output for 5.3.20 - 5.3.23, 5.4.9 - 5.4.12
- 1394530092000
1448011934000
- Output for 5.3.16 - 5.3.19, 5.4.6 - 5.4.8
- 1394530092000
1448011935000
- Output for 5.3.12 - 5.3.15, 5.4.3 - 5.4.5
- 1394530092000
1448011936000
- Output for 5.3.8 - 5.3.11, 5.4.0 - 5.4.2
- 1394530092000
1448011937000
- Output for 5.3.3 - 5.3.7
- 1394530092000
1448011938000
- Output for 5.3.0 - 5.3.2
- 1394530092000
1448011939000
- Output for 5.2.0 - 5.2.17
- Fatal error: Call to undefined method DateTime::getTimestamp() in /in/NGNsU on line 3
Process exited with code 255. - Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
- Fatal error: Class 'DateTime' not found in /in/NGNsU on line 2
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/NGNsU on line 2
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Cannot instantiate non-existent class: datetime in /in/NGNsU on line 2
preferences:
197.91 ms | 401 KiB | 315 Q