date format php l day in week list code example
Example: name of today php
$datetime = DateTime::createFromFormat('YmdHi', '201308131830');
echo $datetime->format('D');
// or
$date = new \DateTime();
echo $date->format("D");
$datetime = DateTime::createFromFormat('YmdHi', '201308131830');
echo $datetime->format('D');
// or
$date = new \DateTime();
echo $date->format("D");