Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
Is there a list of Timezone ID's for use with FindTimeZoneById() in C#? - bug-code.com Q&A

Is there a list of Timezone ID's for use with FindTimeZoneById() in C#?

0 like 0 dislike
26 views
asked by (4.3k points) | 26 views

1 Answer

0 like 0 dislike

Use this code to get such a list:

using System;
 
namespace TimeZoneIds
{
    class Program
    {
        static void Main(string[] args)
        {
            foreach (TimeZoneInfo z in TimeZoneInfo.GetSystemTimeZones())
                Console.WriteLine(z.<span style="box-sizing:inherit; font-st
answered by (8.5k points)
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.7k users

24,788 questions
46,220 answers
0 comments
12,685 users