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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:43:39+00:00 2026-05-30T09:43:39+00:00

I have a sealed Windows XP embedded device which always boots up with the

  • 0

I have a sealed Windows XP embedded device which always boots up with the same windows settings. When my software starts up it needs to set the timezone of the machine to a user-configurable setting. Unfortunately, I’ve discovered that even though I’m updating the timezone, all of the methods in .net which retrieve the system time don’t appear to pick up the changes.

A bit of digging suggests that in .net 3.5 and 4.0 there is a method to clear a cache: system.timezoneinfo.clearcacheddata(). I’m working with .net 2.0 though so how can I get around this in .net 2.0?

Is the only option to have a second piece of software running to set the timezone before the main application runs (re-loading the software appears to fix the issue)?

  • 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-30T09:43:41+00:00Added an answer on May 30, 2026 at 9:43 am

    Nevermind; I found a solution that works all the way back to .net v1.0:

    System.Globalization.CultureInfo.CurrentCulture.ClearCachedData();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .NET Windows application that needs to call another .NET executable. I
I have the following code in my ASP.NET project public sealed class IoC {
I'm using .NET 3.5 and I have a class, A, marked as internal sealed
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I have used Visual Studio to generate a class for application settings in a
I have a flash movie which produces a certificate for participants in an online
I have a Java application using the Substance LookAndFeel with Windows as the the
I have an application that displays an image inside of a Windows Forms PictureBox
Control Panel items are normally registered under HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace , however a lot of the
I have a Windows Mobile 6.5 (.net cf 3.5) that uses a singleton class

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.