<?php the_time('l, F jS, Y') ?>
For example, the format string:
For example, the format string:
l, F j, Y
creates a date that look like this:
Friday, September 24, 2004
Here is what each format character in the string above represents:
-
l
= Full name for day of the week (lower-case L). -
F
= Full name for the month. -
j
= The day of the month. -
Y
= The year in 4 digits. (lower-case y gives the year's last 2 digits)
No comments:
Post a Comment