WordPress tutorials: Add todays date

Wpsnipp – Many blogs displays the current date on their blog header. It looks profesional, and it is also useful, especially if your blog posts are dated. Here is a very easy way to add today’s date on your WordPress blog.Add this PHP code to your theme and it will display todays date.



echo date("l, M jS");

Leave a comment