User's time zone


I am curious how I can get user’s time zone and if the Users Service already stores it?

User service does not store it. You can get it using a custom cloud (server) code function

Hi Mark,

You mean developing a specific service?

Yes, because you’d need a way to pass user’s timezone to the server-side and store it somewhere in a data table.

Ok, my question arose because I want to send to users a push notification at THEIR 6am for instance. I assumed I needed to get their timezone but maybe it is already handled by your Messaging app?

No, the server side does not gather that information. You would need to obtain it and store on the server (I assume somewhere within the user properties).