I want to get the time zone for each player. Is there any suggested way to do this?
I want to have a time offset field for each player, so I can send global push notifications at appropriate times.
Hi Baris, currently looking into a solution for you.
Best Regards, Patrick.
Yes, this is a good idea, thanks. We'll use this in addition to TimeZoneInfo.
For the previous users for whom we didn't have this info though, I intend to use a BulkJob to convert country data to time offsets. Do you have any suggestions for doing this?
( If anyone intends to use TimeZoneInfo for this, but for some users it can't find a TimeZoneInfo and causes an exception, so make sure to wrap it in a try-catch block. )
If using Unity you could pass the timezone info in an event. The TimeZoneInfo class should be useful.