How to Display Today’s Date in WordPress?


All you need to do is place the following code in a theme file of your choice, most commonly in header.php:

<?php echo date('l jS F Y'); ?>

The above code will display the date in the following format:
Thursday, 17th September 2009

Related Post

Latest Post

Recent Posts Widget

Make sure to never miss a thing...

Get the latest news from the creative industry along with other creative goodies, conveniently delivered to social media.