<?php print_r($datetime = DateTime::createFromFormat('Ymd', date("Ymd"))); echo $daynum = date("w", strtotime($datetime->format('D')));
You have javascript disabled. You will not be able to edit any code.