WordPress.org

Ready to get started?Download WordPress

Forums

Days starting with 0? (1 post)

  1. gotmedia
    Member
    Posted 4 years ago #

    How do I ensure that days are always two-digits?

    I want:
    December 1 2009

    to be shown as:
    December 01 2009

    But if it's December 17 2009, obviously I don't want a 0 before 17.

    I tried looking in the docs, but couldn't find the answer. Thoughts?

Topic Closed

This topic has been closed to new replies.

About this Topic