0

Timezone in .NET Core has a different Id that that of Google Analytics. For example, in .NET Core it is

Central Europe Standard Time

and in Google Analytics it is

Europe/Prague

Is there a way how to convert from one to another? What could a solution for the conversion look like?

Martin Staufcik
  • 8,295
  • 4
  • 44
  • 63
  • If the list of Timezone IDs differ, you could map it in your .net application. – Phael Feb 21 '22 at 10:24
  • @Phael thank you, yes, if there is no other way, I will add mapping into the .net application – Martin Staufcik Feb 21 '22 at 10:44
  • Your question ins unclear What google analytics in .net are you talking about exactly? please edit your question and include [example] – Linda Lawton - DaImTo Feb 21 '22 at 11:34
  • Google Analytics is using IANA time zones, which are supported on .NET Core on Linux/MacOS, and on Windows via TimeZoneConverter library, or on any platform without a library using .NET 6. See the dup link for further info. – Matt Johnson-Pint Feb 22 '22 at 16:49

0 Answers0