3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $timestamp = -1861945262080; var_dump($timestamp, date("d-m-Y", $timestamp));
Output for 4.3.0 - 5.0.5, 5.2.4 - 7.2.0
int(-1861945262080) string(12) "21-04--57033"
Output for 5.1.0 - 5.2.3
int(-1861945262080) string(12) "10-04--57033"