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

  • Home
  • SEARCH
  • 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 6848895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:55:28+00:00 2026-05-27T00:55:28+00:00

Since silverlight doesn’t have complete TimeZoneInfo I will need to implement some of the

  • 0

Since silverlight doesn’t have complete TimeZoneInfo I will need to implement some of the functionality myself. For example, this following info comes from .NET TimeZoneInfo

ID: Central Standard Time
   Display Name:   (UTC-06:00) Central Time (US & Canada)
   Standard Name:                   Central Standard Time
   Daylight Name:                   Central Daylight Time   ***Has Daylight Saving Time***
   Offset from UTC:                      -6 hours, 0 minutes
   Number of adjustment rules:                          2
   Adjustment Rules:
      From 1/1/0001 12:00:00 AM to 12/31/2006 12:00:00 AM
      Delta: 01:00:00
      Begins at 2:00 AM on Sunday of week 1 of April
      Ends at 2:00 AM on Sunday of week 5 of October
      From 1/1/2007 12:00:00 AM to 12/31/9999 12:00:00 AM
      Delta: 01:00:00
      Begins at 2:00 AM on Sunday of week 2 of March
      Ends at 2:00 AM on Sunday of week 1 of November

My question is how do I implement such rule when I need to convert from UTC to local and back?

Should I take UTC, substract 6 hours and then check if it’s after 2am on Sunday of week 2 of March and then add 1hr?

Or should I take UTC, check if it’s after 2am and then substract 5?

  • 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-27T00:55:28+00:00Added an answer on May 27, 2026 at 12:55 am

    The time that Daylight Saving Time takes effect is local to that timezone, not UTC. So you should take the UTC time, subtract 6 hours off, do the check and then add the hour back on if applicable.

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

Sidebar

Related Questions

you will think: "This problem has been solved many, many times. So why doesn't
In the code behind of my Silverlight application, I have the need to re-populate
Since SilverLight doesn't natively supports the use of microphone, is there a workaround I
I have a Silverlight application with resource files containing strings for localization. Since there
I've seen some people that have managed to use the themes in the Silverlight
Since silverlight does not have any support for DataSets/DataTables, what would be the best
I'm new to Silverlight 4 and having a tough time googling this one since
So since System.Web & HttpContext isn't available in Silverlight is there a way to
Since version 1.5 Subversion supports to have a local caching-proxy for the main Master-repository.
Since Eclipse 3.5 there seems to be no option to have drop a plugin

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.