Forums

[resolved] Wrong month displaying when using the_time (2 posts)

  1. sydspinnin
    Member
    Posted 2 years ago #

    <span class="j"><?php the_time('j'); ?></span>
    <span class="my"><?php the_time('F / y'); ?></span>

    This displays the day and the year correctly, but the month displays as "May" instead of "June."

    Ideas?

  2. sydspinnin
    Member
    Posted 2 years ago #

    I'm an idiot. Never mind. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags