WordPress.org

Ready to get started?Download WordPress

Forums

timestamp problem! please help. (3 posts)

  1. julie79
    Member
    Posted 8 years ago #

    I wanted to have the time shown on my posts and I figured out how to make that happen, now my problem is having the correct time displayed.

    On the options page in the admin area the UTC time is shown as "2005-10-07 6:31:17 am" and actual time is 11:38pm on 10/6/05. I have it set as a 7 hour difference in the next field and it doesn't change the time of my posts at all. Not even going back and editing the time itself makes a difference.

    This is what I have in my index.php file for the date and time - <?php the_time('F d, Y'); ?> @ <?php the_time('h:i a'); ?>.

    It may be a 7 hour difference shown from what I see on the options page, but when you look at my blog (http://julie.beautiful-mess.net/word/) it's actually a 12 hour difference. Or more simply put any time displayed as am should be pm and vice versa.

    Any and all help would be appreciated. Thanks.

  2. Just a quick check - when you entered the time difference, you did enter it as -7 and not 7?

  3. julie79
    Member
    Posted 8 years ago #

    Yes I have it entered as -7.

Topic Closed

This topic has been closed to new replies.

About this Topic