I have a small question?
Windows forms C#.net
if we enter different country names in text box displays current time in label in windows forms c#.net.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Anurag SarkarRank #1,049 · 1.8K reputationPosted Apr 27, 2015, 3:34 AM EDT
What do you want to do ?
Siva SankarRank #9,790 · 202 reputationPosted Apr 27, 2015, 4:02 AM EDT
Please go through the below link.It may useful to you.
http://www.codedigest.com/CodeDigest/210-Convert-DateTime-to-Different-TimeZone-in-C---ASP-Net.aspx
Siva SankarRank #9,790 · 202 reputationPosted Apr 27, 2015, 4:12 AM EDT
If you wants the Countries code,then please write the below code..
CultureInfo[] cinfo = CultureInfo.GetCultures(CultureTypes.AllCultures & ~CultureTypes.NeutralCultures);
Response.Write("
foreach (CultureInfo cul in cinfo)
{
Response.Write("
Response.Write("
Response.Write("
}
Response.Write("