C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






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


    No feedbacks found. Be the first to respond and make money from revenue sharing program.

    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



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use