I have a function that prints out:
echo $post->EE_Event->primary_datetime()->start_date_and_time();
result:
21-02-15 08:00
But i want to display it as:
08:00 21st February, 2015
I need help with a function to grab the existing printed out date and reformat it.
I have tried a few snippets online, but nothing that worked.