Change date output
-
I’m trying to manipulate the date that is outputted for an event as I need to to display the date in a certain way within the template file. I’m using the following code as a starter before I manipulate the individual day/month/year
$event_start_date = display_event_start_date(); date('d', strtottime($event_start_date));The above code basically does nothing and still just outputs the date as the default format. Surely the function just outputs the value as a string, any ideas why I can’t manipulate it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Change date output’ is closed to new replies.