Answer to Question #3764 in C# for viki
Question #3764
How to find other country time and date in c# code?
Expert's answer
To get current date you can use DateTime.Now
http://msdn.microsoft.com/en-us/library/system.datetime.now.aspx
And to find another country you can use TimeZoneInfo class
http://msdn.microsoft.com/en-us/library/system.timezoneinfo.aspx
http://msdn.microsoft.com/en-us/library/system.datetime.now.aspx
And to find another country you can use TimeZoneInfo class
http://msdn.microsoft.com/en-us/library/system.timezoneinfo.aspx
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment