WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why do we have 2 date fields in the wp_posts? What's the purpose of the post_date_gmt? When does storing the greenwich time get handy?

share|improve this question
up vote 7 down vote accepted

Some countries use a Daylight Saving Time (DST):

Typically clocks are adjusted forward one hour near the start of spring and are adjusted backward in autumn.

Sometimes there is no 2 am. Sometimes you get 2 am two times. To avoid cron jobs running twice or not at all WP needs the GMT (or more precise: UTC). UNIX time stamps cannot be used because they start in 1970 … and there is still the Year 2038 problem.

If you want to write an imaginary diary of Gaius Julius Caesar or James T. Kirk … you will run into problems with the current system too, but they may be solvable at least. :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.