WordPress.org

Forums

Getting WP Local Time (3 posts)

  1. genzki
    Member
    Posted 1 year ago #

    Good Day, I tried to set the Timezone to Taipei but the Timezone is still on UTC? How can I set it on local time in our country I use this

    <?php echo get_post_time('g:i A', true); ?>

    Localtime of Posted Blog Post: 12:04PM
    Showing Time of Post: 4:08AM

    to show the time of post but the time showing is not correct

    Thanks,

    Genzki

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What time zone is your server using?

  3. genzki
    Member
    Posted 1 year ago #

    Our Server is in US somewhere in California, IM sorry Im not familiar with the Time Zone in US

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.