3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = DateTime::createFromFormat('d-m-Y', '03-01-2016'); var_dump($date->format('W'));
Output for 5.3.22 - 7.3.0rc4
string(2) "53"