Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Understanding the Etc/GMT time zone

What is the rationale behind Apple using Etc/GMT timezone when they return the receipt from the App Store for auto-renewable subscriptions.

What exactly is the Etc/GMT time zone? Does the Java SDK understand this time zone? Or do I have to use other third-party libraries like Joda-Time?

like image 625
royalghost Avatar asked Sep 05 '11 03:09

royalghost


People also ask

What does ETC GMT 5 mean?

Eastern Standard Time. -5. Etc/GMT+5.

What does ETC GMT 1 mean?

GMT+01 is a time offset that adds 1 hour to Greenwich Mean Time (GMT). It is observed in the CET, WAT during standard time, and in the BST, IST, WEST during the other months (Daylight saving time).

What does ETC GMT-4 mean?

GMT-4 is 4 hours behind Greenwich Mean Time (GMT). The GMT/UTC minus 4 hours offset is used by quite a few countries in the Caribbean, with no change throughout the year, as no Daylight Saving Time is applied. The Eastern Time Zone of USA and Canada only have the -4 offset when Daylight Saving Time is in use.


1 Answers

Etc/GMT is not strictly the same thing as UTC or GMT. They represent the same instant in time only when the offset is 0. In all other cases, they are quite different.

Apple explains the designation here.

A quote directly from the link gives an example:

We use POSIX-style signs in the Zone names and the output abbreviations, even though this is the opposite of what many people expect. POSIX has positive signs west of Greenwich, but many people expect positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses the abbreviation "GMT+4" and corresponds to 4 hours behind UTC (i.e. west of Greenwich) even though many people would expect it to mean 4 hours ahead of UTC (i.e. east of Greenwich).

like image 164
David Peden Avatar answered Sep 19 '22 19:09

David Peden