3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(date('c', 1520333820)); var_dump(date('wHi', 1520333820)); var_dump(date('w', 1520333820));
Output for 7.2.8
string(25) "2018-03-06T11:57:00+01:00" string(5) "21157" string(1) "2"