<?php var_dump(date('w', new Datetime('2016-01-15')));
You have javascript disabled. You will not be able to edit any code.