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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You should look at
TimeZoneInfoclass, specifically at TimeZoneInfo.ConvertTime method.For example, to get current time in Central Europe: