WordPress.org

Support

Support » How-To and Troubleshooting » Days starting with 0?

Days starting with 0?

  • 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?

  • The topic ‘Days starting with 0?’ is closed to new replies.
Skip to toolbar