WordPress.org

Ready to get started?Download WordPress

Forums

Getting WP Local Time (3 posts)

  1. genzki
    Member
    Posted 6 months 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 6 months ago #

    What time zone is your server using?

  3. genzki
    Member
    Posted 6 months ago #

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

Reply

You must log in to post.

About this Topic

Tags

No tags yet.