WordPress.org

Ready to get started?Download WordPress

Forums

Show post time in local time (2 posts)

  1. robvdn
    Member
    Posted 1 year ago #

    I'd like my post times to be based on the users local time (meaning the original posts date has to be converted to his/her timezone), problem is my users do not have an account. Is there a way to do this with coding?

  2. vtxyzzy
    Member
    Posted 1 year ago #

    I believe you can use the date_i18n() function to do this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags