WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I did a pretty thorough search and found a couple of closed (and unanswered) topics on the WP forums. Does anyone know if this is possible? The codex doesn't specify this as an option.


share|improve this question
up vote 4 down vote accepted

You use a lowercase y for a 2 digit year.

For example (l, F j, Y) --> returns, Friday, September 24, 2004

and (l, F j, y) ---> returns Friday, September 24, 04

share|improve this answer
Gah... I feel stupid. Thank you so much. Much appreciated! – Redlist Mar 27 '11 at 0:46

Here is the full (I think) list of valid date/time parameters to pass to the_date() and/or the_time().

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.