
Have you ever wanted to display today’s date on your blog? Of course that yes, because it looks profesional, useful and informative. Here is a very easy way to add today’s date on your WordPress blog. This is very simple php code for showing date.
Today’s date on your WordPress blog
Have you ever wanted to display today’s date on your blog? Of course that yes, because it looks profesional, useful and informative. Here is a very easy way to add today’s date on your WordPress blog. This is very simple php code for showing date.

Here is code:
<?php echo date('l jS F Y'); ?>
The date format can be easily formatted. You can get more info on the date() php function here. Thanks for this WordPress recipe for Wprecipes.com.
















6 Responses
Nice and useful piece of php coding.
It’s the sort of small snippet that people use and then start looking more at php and eventually end up as a complete nerd.
Thanks for providing the first spark…
Small but well formed piece of code.
I think that seeing the date gives a sense of the site being “up to date”… even though the effect is achieved with a piece of code.
Of course you can put the code on any web page, which is a php page, providing your host runs php.
Nice content indeed! i will visit as often as i can.
cheers
It looks like you are a true pro. Did ya study about the theme? hrhr
Which Word Press template do you use?
Convergence.