Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8390965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:08:01+00:00 2026-06-09T19:08:01+00:00

For time.timezone , the Python documentation says: The offset of the local (non-DST) timezone,

  • 0

For time.timezone, the Python documentation says:

The offset of the local (non-DST) timezone, in seconds west of UTC (negative in most of Western Europe, positive in the US, zero in the UK).

Does anybody know why it returns a negative value for most of Western Europe? These countries are in a positive offset, and not in a negative one.

Example: Brussels is in UTC+1 timezone…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:08:03+00:00Added an answer on June 9, 2026 at 7:08 pm

    This is a Unix artefact. Although the standard numeric description for timezones is in hours and minutes east from UTC (UTC+1 for Brussels, UTC-5 for New York, etc.) the Unix timezone is measured in seconds west from UTC.

    From http://pubs.opengroup.org/onlinepubs/7908799/xsh/tzset.html:

    The external variable timezone is set to the difference, in seconds, between Coordinated Universal Time (UTC) and local standard time, for example:

    TZ  timezone
    EST 5*60*60
    GMT 0*60*60
    JST -9*60*60
    MET -1*60*60
    MST 7*60*60
    PST 8*60*60
    

    As to why Unix has it backwards, I’d guess it’s a historical accident, probably because Unix was originally developed in the USA.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking for a way to get the seconds until @post.created_at date time with timezone.
I'm trying to display the local time on my system with the TimeZone. How
I need to force any time related operations to GMT/UTC, regardless the timezone set
EDIT: Basically, I'm looking to do this, in UTC-time, ideally via ISO-8601: Python: datetime.datetime
Possible Duplicate: Python datetime object show wrong timezone offset import pytz, datetime pytz.timezone("Asia/Calcutta") prints
Assuming the text is typed at the same time in the same (Israeli) timezone,
I get some datetime (ExactDate) from a db. These time are in US timezone,
following How to store date/time and timestamps in UTC time zone with JPA and
I want to ask about UNIX time, Does UNIX time record Timezone? I moved
Possible Duplicate: How to get the current date and time of your timezone in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.