• Resolved ColumbanFathers

    (@columbanfathers)


    My time and date stamp is not working correctly. It shows Oct. 10 for all my posts, even though in the admin panel it shows the correct time and date.

    Using this simple code – <?php the_time(‘F n, Y’) ?>

    Any thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Try this: <?php the_time('F j, Y'); ?> (notice the ; at the end?) Shouldn’t matter, but let’s get that right first 🙂

    Are you using this inside the_loop?

    Thread Starter ColumbanFathers

    (@columbanfathers)

    Yes, that works. Looks like the errant backspace key got me again!

    And yes, inside the loop.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Time stamp not correct’ is closed to new replies.