Support » Fixing WordPress » Show number the month, NOT name?

  • Anna Johansson


    Is there a way to get comment_date to show the number of the month, rather than the name?

    <?php comment_date('j F, Y') ?> results in for example 19 June, 2007 and I’d like it to be 19/6, 2007.

    How to…?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jeremy Clark



    <?php comment_date('j/n, Y') ?>

    I’m not sure if the / will work in there or not.

    Anna Johansson


    Worked like a charmn, just trid that solution.

    Except for one thing, the slash sign (/). I don’t know of any entitie for it either?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show number the month, NOT name?’ is closed to new replies.