I'm using a page builder on my Wordpress site which allows editing of the PHP. On a page I wanted to add a custom field which shows an expiry date set by a plugin.
I did this by adding:
<?php echo do_shortcode("[oxygen data='meta' key='_expiration-date']"); ?>
This works, but the date and time returned is in a Unix format(?) so it looks like: 1538329800
Is there a way to convert this number to a proper text output to be displayed on pages?