A question that I have is why doesn't the DateTime class convert the unix epoc by default Example would be
function convert($date){
$d = new DateTime($date);
echo $d;
}
$now = time();
convert($now);
I mean sure there is 20 different date/time functions in php but one of the most common formats Errors can somebody shed some light on if i am missing something without passing a string time through 2 other functions "messy code" to pass it to the DateTime Class ?