Support Topics Documentation Slack YouTube Blog

User's time zone

(Tapuat) #1


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

(Mark Piller) #2

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

(Tapuat) #3

Hi Mark,

You mean developing a specific service?

(Mark Piller) #4

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

(Tapuat) #5

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?

(Mark Piller) #6

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).