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 4576230
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:10:33+00:00 2026-05-21T20:10:33+00:00

example: os.environ[‘TZ’] = CST+06CDT,M4.1.0,M10.5.0 I can understand CST, 06 (offset from UTC ?? or

  • 0

example:

os.environ['TZ'] = "CST+06CDT,M4.1.0,M10.5.0"

I can understand CST, 06 (offset from UTC ?? or GMT) , CDT == Central Daylight Saving Time
but

What do M4.1.0 and M10.5.0 mean ?

Here is what i found:

export TZ=EST05EDT

EST was taken from the chart below. Five hours has to be added to get UTC, hence the 05. And currently EDT, Eastern Daylight, is in effect.

TZ=.

DST timezones

  0      BST for British Summer.                                
  +400   ADT for Atlantic Daylight.                             
  +500   EDT for Eastern Daylight.                              
  +600   CDT for Central Daylight.                              
  +700   MDT for Mountain Daylight.                             
  +800   PDT for Pacific Daylight.                              
  +900   YDT for Yukon Daylight.                                
  +1000  HDT for Hawaii Daylight.                               
  -100   MEST for Middle European Summer,                       
             MESZ for Middle European Summer,                  
             SST for Swedish Summer and FST for French Summer. 
  -700   WADT for West Australian Daylight.                     
  -1000  EADT for Eastern Australian Daylight.                  
  -1200  NZDT for New Zealand Daylight.                         

Was there an easier way to get back to my correct time? Yes, just unset the TZ environment variable.

  $ unset TZ
  $ date
  Sun Aug 22 10:17:35 EDT 2004

Note, even though TZ was adjusted for daylight saving time, will you get the correct time 5 months from now? When does daylight saving time go into effect? The TZ value shown below adjust for dst, only during the correct dates. For instance, this entry goes into effect April, the first week, at 2am, and ends October the 5th week, at 2am. Note 10.5.0 stands for the 5th week in October, and not the 5th day.

  $ export TZ=EST+5EDT,M4.1.0/2,M10.5.0/2
  • 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-05-21T20:10:34+00:00Added an answer on May 21, 2026 at 8:10 pm

    From the python manual:

    The standard format of the TZ
    environment variable is (whitespace
    added for clarity):

    std offset [dst [offset
    [,start[/time], end[/time]]]]

    Mm.n.d The d‘th day (0 <= d <= 6) or
    week n of month m of the year (1 <= n
    <= 5, 1 <= m <= 12, where week 5 means
    “the last d day in month m” which may
    occur in either the fourth or the
    fifth week). Week 1 is the first week
    in which the d‘th day occurs. Day zero
    is Sunday.

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

Sidebar

Related Questions

Example output from PHP: { RootName_0:{Id:1,ValId:1,Value:Colour,Text:Blue}, RootName_1:{Id:1,ValId:2,Value:Colour,Text:Red} } How can I use Backbone.js or
In the following example from wsgi.org is cur_named copied: def __call__(self, environ, start_response): script_name
Example: select ename from emp where hiredate = todate('01/05/81','dd/mm/yy') and select ename from emp
In WSGI headers are represented in the environ as 'HTTP_XXX' values. For example the
Example, let's say from a game: public class Enemy { protected int x, y;
Example query: Select id, id_dtm From tableA Where exists ( Select 1 From tableB
Example: function example($x = ) { Do something } Isn't $x empty by default
Example: You have a shortcut s to SomeProgram in the current directory. In cmd.exe
Example I have Person , SpecialPerson , and User . Person and SpecialPerson are
example: a_list = [1, 2, 3] a_list.len() # doesn't work len(a_list) # works Python

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.