I am trying to change the date format in
print("<td class='month subscriber subscriber-fixed-alone fixed-cell'>$date</td>");
which prints $date
as 2017-12. How would I change this to December 2017?
I have tried
print("<td class='month subscriber subscriber-fixed-alone fixed-cell'>" . date_format($date, 'F Y') . "</td>");
but I get no value. The value is pulled from an HTTP API by
foreach ($content as $dates => $row) {
$date = $dates;
Think I am missing something rather simple.