Hi!
I got a code like this that works just fine.
$dates[] = date('F, Y', $date);
I wonder if it's possible to pass a variable to the first argument. Something like this (but this doesn't work):
$date_format = 'F, Y';
$dates[] = date($date_format, $date);
EDIT: This actually works just fine. Just placed the variable in the wrong place.