How to get Timezone Id in Xamarin.Forms Cross Platform

RaphaelChiorlinRanieriRaphaelChiorlinRanieri BRMember ✭✭✭
edited May 2016 in Xamarin.Forms

Hi I'm trying to get TimeZone Id in Xamarin....

When using in Android and calling TimeZoneInfo.Local.Id I get something like "America/Sao_Paulo"
When using on iOS I get just the word "Local"

I realized that android uses the Olson Time Zone that is from java... But iOS do not seems to work as I expected...

Is there any way to get the timezone in iOS?

And also ...
Is there a way to get the TimeZone in Android in windows Format? Like for Example in case America/Sao_Paulo: "E. South America Standard Time"


Sign In or Register to comment.