Find the answer to your Linux question:
Results 1 to 2 of 2
Hi folks, I would like to read the start date and end date of the Daylight Saving Time for the given timezone in the given year. What's the function in ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    23

    Reading the Daylight Saving Start Date and End date in linux using C/C++

    Hi folks,
    I would like to read the start date and end date of the Daylight Saving Time for the given timezone in the given year. What's the function in C/C++ to read the start of the Daylight Saving date and end of Daylight saving date?

    I'm using Linux 2.6.xx Kernel.

    For Example, in Pacific Time (US & Canada) the Daylight Start date for the year 2009 is Mar 9,2009 and it ended on Nov 1, 2009. I need a C/C++ function to read these dates.

    Thanks in Advance,
    Surya

  2. #2
    Just Joined!
    Join Date
    Jun 2011
    Posts
    3

    Reading the Daylight Saving Start Date and End date in linux using C++

    Hi ,

    I am running into the same problem where I need the following:

    1) Get the time zone info as similar to windows . In windows, we are using TZI registry key.. Do we have some thing same in linux?

    2) need to get the following details to predict the timezone:

    daylight date
    standard date

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...