Title: Why UTC time zone?
Last modified: August 24, 2016

---

# Why UTC time zone?

 *  [janew](https://wordpress.org/support/users/janew/)
 * (@janew)
 * [11 years ago](https://wordpress.org/support/topic/why-utc-time-zone/)
 * I am subscribed to receive notifications of file add/delete/modify, but every
   time something comes in, it shows the time in UTC. I have WordPress set to my
   own time zone (Pacific), so why can’t your plugin take the time from there? I
   don’t know what UTC is and by the time I look it up and try to figure out if 
   it was me or someone else who changed/added/deleted the file … well, why not 
   just put my own local time zone?
    Thanks!
 * EDIT: I would also point out that when I receive an email about a site lockout,
   it shows my local time, so again, it seems like it should be a simple tweak for
   the add/delete/modify email.
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [11 years ago](https://wordpress.org/support/topic/why-utc-time-zone/#post-6063448)
 * Correct me if I’m wrong but the default timezone in WP is always UTC even when
   you have set your local timezone in Settings.
 * So any plugin must use local timezone aware date\time functions like date_i18n().
   
   However the iTSec plugin seems to make use of the php date() function to format
   date(s)\time(s).
 * It seems the date(s)\time(s) used in the File Change Detection email are actually
   correct. Only the timezone (UTC) is incorrect.
    Could you confirm this ? (Simply
   check the date/time as included in the subject of the email).
 * If formatting would similarly be applied to the expiration date/time in the lockout
   email it would also show UTC … but there is no date/time formatting done at all
   on this date\time …
 * In short, the iTSec plugin needs to format date(s)\time(s) using the WP date_i18n()
   function instead of the php date() function.
 * dwinden

Viewing 1 replies (of 1 total)

The topic ‘Why UTC time zone?’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [confusing](https://wordpress.org/support/topic-tag/confusing/)
 * [time zone](https://wordpress.org/support/topic-tag/time-zone/)
 * [utc](https://wordpress.org/support/topic-tag/utc/)

 * 1 reply
 * 2 participants
 * Last reply from: [dwinden](https://wordpress.org/support/users/dwinden/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/why-utc-time-zone/#post-6063448)
 * Status: not resolved