I want to create a test app in Xamarin.forms which will show different time for different countries(India, Uk, USA..).
I tried to use something like this:
TimeZoneInfo.FindSystemTimeZoneById
But doesn't work I get error:
Error 2 'System.TimeZoneInfo' does not contain a definition for 'FindSystemTimeZoneById'
I have buttons for different countries and as per what user clicks I want to show him the current time of that country. How do I do that?