Time Zone Rules Changes

The State of Florida has approved the Sun Protection Act , which eliminates the DST in Florida.

What changes do I need to make to my .NET code so that it does not get the wrong answer when converting UTC DateTime to Florida local time?

+4
source share
2 answers

You do not need to make any code changes.

.Net gets timezone information from Windows. Just upgrade Windows. Microsoft will release an update before the law takes effect.

The update will be indicated here (credit for @HansPassant)

Below is an example of such an update since 2016

+3
source

3 DateTimes:

  • , UTC. ? , .NET . , Windows, Timezone Culture Format UTC. Timezones, .
  • , . DateTime .
  • 2 (XML Serialstion), , . .

, 1, , , Windows Timezone/UST. UI, .NET Windows, .

, . . , .

0

Source: https://habr.com/ru/post/1694659/


All Articles