<?php $d = new DateTime('NOW'); //echo $d->format('w'); echo date('w', strtotime($d->format('Y-m-d')));
You have javascript disabled. You will not be able to edit any code.