I am using wordpress for an integration with an recruitment software. Now i am having an issue with an 'endDate' slug. The date format seems to show up as yyyy-mm-dd. How can i change this format to dd-mm-yyyy
Here is the code i am using in the loop.php
<span class="closes-from">
<?php
$post_meta_data = get_post_meta(get_the_ID());
echo ('Submission deadline: ').$post_meta_data['endDate'][0];
?>
</span>