Jump to content

Converting a unix timestamp


Mark Whitmore

Recommended Posts

Hello guys, I'm looking to convert a unix timestamp into a readable date. Here is working code I'm using to do the same thing from an api

date_default_timezone_set("Europe/London"); echo "Match played on "; echo date("d F Y G:i", $match['date_unix']); 

I need to do the same thing to a custom field using PHP Output Format. I've tried

echo gmdate("d F Y", $output);

and other variations but so far I'm having no luck. 

Link to comment
×
×
  • Create New...