<?php $d = time(); echo "Midnight of $d\n"; $date = new DateTime(); $date->setTimestamp($d); $date->setTime(0,0,0); echo $date;
You have javascript disabled. You will not be able to edit any code.