<?php $aa = new \DateTime('2016-01-15'); var_dump(date('w', $aa->getTime()));
You have javascript disabled. You will not be able to edit any code.