Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

PerlMonks issue with Portugal timezone?

by ambs (Pilgrim)
on Apr 19, 2005 at 19:37 UTC ( #449410=monkdiscuss: print w/replies, xml ) Need Help??

I live in Portugal. Here, the timezone is the same as in England (0). Now, to get the correct date/time I need to set perlmonks timezone to +1. Is there any explanation?

Alberto Simões

2005-11-05 Retitled by g0n, as per Monastery guidelines
Original title: 'Timezone'

  • Comment on PerlMonks issue with Portugal timezone?

Replies are listed 'Best First'.
Re: PerlMonks issue with Portugal timezone?
by ikegami (Pope) on Apr 19, 2005 at 19:45 UTC
    GMT is not England's time zone (at least not in computer terminology), at least not year round, since GMT does not obey Daylight Savings Time.
      The United Kingdom is in the Western European Time Zone. Western European Standard Time (WET) is Greenwich Mean Time (GMT). See this site for the details.

        The site to which you linked contradicts you. In big bold characters, it says the UK is currently using GMT+1, not GMT.

        The site goes on to say the UK sometimes uses GMT, sometimes uses BST (which is GMT+1).

      Ok. That explains it. I really don't understand must about timezones O:-)

      Alberto Simões

Re: PerlMonks issue with Portugal timezone?
by ysth (Canon) on Apr 20, 2005 at 00:20 UTC
    Unless you live in the Azores, I'm guessing you use WET/WEST, which are the same as the English GMT/BST. On the Timezone Settings page, we try to provide at least one link to click for each currently unique timezone, where unique means different in regular offset, savings time offset (if any), savings time beginning/ending rules, or abbreviations. The link there for WET/WEST is labeled Atlantic/Canary, which I think is what you want. If you are particular about your timezone name matching your actual country, click on one of the links, and then edit the url it uses to specify what timezone you want (for example, Europe/Lisbon or Atlantic/Madeira); the perlmonks servers use a fairly recent Olson timezone database.

    I thought tye had set up a page to allow you to test whether/how a timezone name was supported, but don't recall where that was (and may just be misremembering).

Re: PerlMonks issue with Portugal timezone?
by Popcorn Dave (Abbot) on Apr 19, 2005 at 19:45 UTC
    Just a guess, but does Portugal honor Daylight Savings Time?

    Useless trivia: In the 2004 Las Vegas phone book there are approximately 28 pages of ads for massage, but almost 200 for lawyers.
Re: PerlMonks issue with Portugal timezone?
by bofh_of_oz (Hermit) on Apr 20, 2005 at 20:11 UTC
    Another thing about time zones on PerlMonks: I have thought that whatever is to the west of Greenwich, supposed to have GMT -<insert your number here>, e.g. GMT-5 for Eastern Standart Time (that's what my Windows box says anyways :).
    So, when asking for admission to this glorious monastery, I was somewhat surprised to see something like this:
    User's localtime: Apr 20, 2005 at 16:06 GMT+4

    I know that right now the difference is 4 hours... but why '+' instead of '-'?

      Same reason that people in the UK and portugal are on +1.

      UTC is a synonym for GMT, and may make more sense -- neither observe DST. So, at the moment, the local time observed in Greenwich is GMT+1 (BST).

      Things get scarier in some parts of the US (parts of Indiana, for example) that do not observe DST.

      --
      RatArsed

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://449410]
Approved by Joost
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2020-03-30 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (175 votes). Check out past polls.

    Notices?