June 8, 2009

Display Today’s Date on your Blog

measure_clock_askul_tafWant to show the date on your WordPress blog just anywhere? Well, here’s a simple little hack with just a little bit of code that you can place anywhere for the date to be shown.

Here’s that code, and you can place it anywhere that suits your needs:

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

You can futher format the date, but that seems like a little too much for me to get into. You can check out further documentation on that at the official php website.


Previous Post and Next Post


Try HostGator Webhosting for 1 cent for the 1st Month Click here and enter "wordpress"

Leave a reply

* means field is required.

*

*