<?php $date = new DateTime('2014-09-23'); var_dump($date->format('w'), $date->format('N'));
You have javascript disabled. You will not be able to edit any code.