3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new \Datetime("-10 year"); echo $date->format("timestamp");
based on rkdFM
Output for 5.6.28, 7.0.20 - 7.2.0
305611Europe/Amsterdam1430pm11p
Output for 7.0.6
312605Europe/Amsterdam4931pm05p
Output for 7.0.5
304804Europe/Amsterdam2630am04p
Output for 7.0.4
314003Europe/Amsterdam1731pm03p
Output for 7.0.3
315703Europe/Amsterdam2331pm03p
Output for 7.0.2
310603Europe/Amsterdam3231am03p
Output for 7.0.1
313303Europe/Amsterdam0431am03p
Output for 7.0.0
312803Europe/Amsterdam3131am03p
Output for 5.6.21
313505Europe/Amsterdam3131pm05p
Output for 5.6.20
304904Europe/Amsterdam0030am04p
Output for 5.6.19
315203Europe/Amsterdam2231am03p
Output for 5.6.18
314203Europe/Amsterdam2731pm03p
Output for 5.6.17
311603Europe/Amsterdam4531am03p
Output for 5.6.16
311703Europe/Amsterdam1731am03p
Output for 5.6.15
310703Europe/Amsterdam0631am03p
Output for 5.6.14
305504Europe/Amsterdam4030am04p
Output for 5.6.13
302704Europe/Amsterdam2030pm04p
Output for 5.6.12
305404Europe/Amsterdam1730am04p
Output for 5.6.11
301804Europe/Amsterdam2330pm04p
Output for 5.6.10
302104Europe/Amsterdam3130pm04p
Output for 5.6.9
303004Europe/Amsterdam3230pm04p
Output for 5.6.8
302104Europe/Amsterdam1730am04p
Output for 5.5.35
315405Europe/Amsterdam3631pm05p
Output for 5.5.34
300004Europe/Amsterdam0030am04p
Output for 5.5.33
314203Europe/Amsterdam1131am03p
Output for 5.5.32
313103Europe/Amsterdam3931pm03p
Output for 5.5.31
312103Europe/Amsterdam3031am03p
Output for 5.5.30
305904Europe/Amsterdam5130am04p
Output for 5.5.29
304604Europe/Amsterdam1430am04p
Output for 5.5.28
300904Europe/Amsterdam4330am04p
Output for 5.5.27
305204Europe/Amsterdam5030am04p
Output for 5.5.26
300304Europe/Amsterdam0830pm04p
Output for 5.5.25
302404Europe/Amsterdam5930am04p
Output for 5.5.24
313905Europe/Amsterdam2231am05p
Output for 5.4.45
305611Europe/Amsterdam1930pm11p
Output for 5.4.44
305611Europe/Amsterdam2030pm11p
Output for 5.4.42 - 5.4.43
305611Europe/Amsterdam2230pm11p
Output for 5.4.41
305611Europe/Amsterdam2330pm11p
Output for 5.4.39 - 5.4.40
305611Europe/Amsterdam2430pm11p
Output for 5.4.37 - 5.4.38
305611Europe/Amsterdam2530pm11p
Output for 5.4.35 - 5.4.36
305611Europe/Amsterdam2630pm11p
Output for 5.4.32 - 5.4.34
305611Europe/Amsterdam2730pm11p
Output for 5.3.29, 5.4.29 - 5.4.31
305611Europe/Amsterdam2830pm11p
Output for 5.4.26 - 5.4.28
305611Europe/Amsterdam2930pm11p
Output for 5.3.28, 5.4.23 - 5.4.25
305611Europe/Amsterdam3030pm11p
Output for 5.4.20 - 5.4.22
305611Europe/Amsterdam3130pm11p
Output for 5.3.27, 5.4.17 - 5.4.19
305611Europe/Amsterdam3230pm11p
Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.16
305611Europe/Amsterdam3330pm11p
Output for 5.3.20 - 5.3.23, 5.4.10 - 5.4.12
305611Europe/Amsterdam3430pm11p