Results 1 to 4 of 4
Hi,
I have a question regarding how timezones are working.
Indeed, if I configure "TZ=BST", I get:
sh-3.2$ date
Fri May 13 07:43:39 BST 2011
And when I configure "TZ=Europe/London", ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-13-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 1
BST and Europe timezone configuration
Hi,
I have a question regarding how timezones are working.
Indeed, if I configure "TZ=BST", I get:
sh-3.2$ date
Fri May 13 07:43:39 BST 2011
And when I configure "TZ=Europe/London", I get:
sh-3.2$ date
Fri May 13 08:43:20 BST 2011
There is no BST file in /usr/share/zoneinfo, so I am asking how it is managed for BST settings and why it is different from setting Europe/London.
thanks in advance
Alex
- 05-13-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,156
I think it is because one is daylight saving time enabled (Europe/London), but the raw BST (British Standard Time) is not? That's all I can figure out. I get the same results you do on my SL6 (RHEL6) system, but since we (in Chicago) are on US CDT (Central Daylight Time), the proper offset from London should be 6 hours, which the TZ=Europe/London setting gives. Setting TZ=GMT, the offset is 5 hours, which computes with the daylight saving time setting (1 hour later than standard time).
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-14-2011 #3Just Joined!
- Join Date
- May 2007
- Posts
- 72
Is it because "BST" simply isn't recognised, so date defaults to giving system time, ie UT (GMT)?
That's my best guess.
- 05-14-2011 #4


Reply With Quote

