How to get current time of different countries in C# by using following any parameters, 1.country name 2.Timezone of country
This is for Windows / WPF Applications, not like Web Could anyone please answer this? Thanks in advance.
How to get current time of different countries in C# by using following any parameters, 1.country name 2.Timezone of country
This is for Windows / WPF Applications, not like Web Could anyone please answer this? Thanks in advance.
You should look at
TimeZoneInfo
class, specifically at TimeZoneInfo.ConvertTime method.For example, to get current time in Central Europe: