WordPress.org

Support

Support » Themes and Templates » PHP strtoupper question…

PHP strtoupper question…

  • I would like to print the date in my posts with an abbreviated month in uppercase. I tried using this but it still prints it in lower case:

    <?php echo strtoupper( the_time(‘M’) ); ?>

    Can anyone tell me what I’m doing wrong?

    Thanks – Stuart.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP strtoupper question…’ is closed to new replies.