Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to get Timezone Id in Xamarin.Forms Cross Platform

$
0
0

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"


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>