TimeZone Information From Registry


Posted Date:     Total Responses: 0    Posted By: Abhinav Dawra   Member Level: Gold   Points/Cash: 55   


The Registry key
SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones in Local Machine holds the time zone information which WINDOWS is using to display in it's calender.

This Code picks the time zone information one by one for each time zone stores it in a structure and then based upon the difference from GMT time for that timezone wheather (+ or -) sorts the complete list to give it the view of WINDOWS calender like UI.

The registry holds the key information like

  • bias i.e. difference from GMT

  • daylightbias i.e. additional difference along with bias from GMT during daylight saving time (if daylight saving is applicable)

  • daylightsaving date i.e. at what date time does daylight saving start for a particular time zone

  • standarddate i.e. when daylight saving ends for that time zone


within the "TZI" field in the registry

This code picks this value from the TZI field and stores it sequentially in a structure.

Then as per the algorithm to find the day for daylightsaving start and end using the TZI information it finds the corresponding dates and time.
Read more about the algorithm at Read more >>

Hope you enjoy reading it

Attachments

  • Code (554-221430-TimeZoneApp.rar)

  • Project Feedbacks

    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    can you please send me data base n all other informations about dis project on my id:juicyjanu@yahoo.com..


    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    The actual values for time zone in a particular system reside in:

    system\current control set\control\TimeZoneInformation



    Author: Member Level: GoldRevenue Score: 2 out of 52 out of 5
    Hi,
    Its really nice. I would like learn such type of things.

    It will be greatful for me to send the files.

    Thanks
    Siva Sreenath


    Post Feedback
    You must Sign In to post a feedback.
    Next Project: Excel Operation (Update/Select/Insert)
    Previous Project: Object finder

    Return to Project Index

    Post New Project


    Related Projects


    Top Contributors
    TodayLast 7 Daysmore...

    Awards & Gifts

    Online Members

    Mohan
    More...
     
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India