Jump to content

Converting a unix timestamp


Mark Whitmore

Recommended Posts

Mark Whitmore

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 post

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Link to post
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.