3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime(str_replace('.', '-', "2014.10.09")) . "\n\r"; echo strtotime('6 month ago'); echo strtotime('3 years ago');
based on oQgqN
Output for 5.6.28, 7.0.20 - 7.2.0
1412805600 14284824241349685624
Output for 7.0.6
1412805600 14465493211367576121
Output for 7.0.5
1412805600 14438267361364943536
Output for 7.0.4
1412805600 14418781241362912124
Output for 7.0.3
1412805600 14425719431363605943
Output for 7.0.2
1412805600 14429390091363973009
Output for 7.0.1
1412805600 14430411881364075188
Output for 7.0.0
1412805600 14433057691364339769
Output for 5.6.21
1412805600 14464457071367472507
Output for 5.6.20
1412805600 14444273961365544196
Output for 5.6.19
1412805600 14416478481362681848
Output for 5.6.18
1412805600 14422834841363317484
Output for 5.6.17
1412805600 14426732631363707263
Output for 5.6.16
1412805600 14433992241364433224
Output for 5.6.15
1412805600 14434889591364522959
Output for 5.6.14
1412805600 14437560341364872834
Output for 5.6.13
1412805600 14448935871366010387
Output for 5.6.12
1412805600 14452894271366406227
Output for 5.6.11
1412805600 14455736001366690400
Output for 5.6.10
1412805600 14457563941366869594
Output for 5.6.9
1412805600 14459474461367060646
Output for 5.6.8
1412805600 14461496521367262852
Output for 5.5.35
1412805600 14481873011369214101
Output for 5.5.34
1412805600 14445222811365639081
Output for 5.5.33
1412805600 14417449231362778923
Output for 5.5.32
1412805600 14424639191363497919
Output for 5.5.31
1412805600 14427694621363803462
Output for 5.5.30
1412805600 14436686441364785444
Output for 5.5.29
1412805600 14450308721366147672
Output for 5.5.28
1412805600 14453878341366504634
Output for 5.5.27
1412805600 14454824441366599244
Output for 5.5.26
1412805600 14458519311366965131
Output for 5.5.25
1412805600 14460479181367161118
Output for 5.5.24
1412805600 14483199911369346791
Output for 5.4.36 - 5.4.45
1412805600 14284824301349685630
Output for 5.4.23 - 5.4.35
1412805600 14284824311349685631
Output for 5.4.12 - 5.4.22
1412805600 14284824321349685632
Output for 5.4.8 - 5.4.11
1412805600 14284824331349685633
Output for 5.4.7
1412805600 14300929031351296103
Output for 5.4.6
1412805600 14300982001351301400
Output for 5.4.5
1412805600 14301036151351306815
Output for 5.4.4
1412805600 14301094521351312652
Output for 5.4.3
1412805600 14301155441351318744
Output for 5.4.2
1412805600 14301218281351325028
Output for 5.3.29
1412805600 14304529561351659756
Output for 5.3.28
1412805600 14304606841351667484
Output for 5.3.27
1412805600 14305435671351836767
Output for 5.3.26
1412805600 14305508381351844038
Output for 5.3.25
1412805600 14305562061351849406
Output for 5.3.24
1412805600 14305604941351853694
Output for 5.3.23
1412805600 14305663051351859505
Output for 5.3.22
1412805600 14305717401351864940
Output for 5.3.21
1412805600 14305753521351868552
Output for 5.3.20
1412805600 14305789731351872173
Output for 5.3.19
1412805600 14305840861351877286
Output for 5.3.18
1412805600 14305844861351877686