[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Time Zone Questions



Ron Leach <ronleach@tesco.net> wrote:
> And London is going to shift from UTC to its local daylight saving time,
> British summer Time, BST, sometime in the next week or so.

Pendantically speaking, not really. We were on GMT and are now on BST. UTC
is invariant, and although it just so happens that GMT is the same as UTC,
our local wintertime timezone is not UTC.

    $ TZ=Europe/London

    $ date --date 'TZ="Europe/London" 1 Mar 2014 08:00'
    Sat  1 Mar 08:00:00 GMT 2014

    $ date -u --date 'TZ="Europe/London" 1 Mar 2014 08:00'
    Sat  1 Mar 08:00:00 UTC 2014

    $ date --date 'TZ="Europe/London" 1 Apr 2014 08:00'
    Tue  1 Apr 08:00:00 BST 2014

    $ date -u --date 'TZ="Europe/London" 1 Apr 2014 08:00'
    Tue  1 Apr 07:00:00 BST 2014


Chris


Reply to: