How to set Timezone to be related to the User location?

Not applicable

Hi Connections,

 

I have a requirement to set the time zone is set up based on the user's location. How can I achieve this and how can I test it...?

 

Appreciate any help.

 

Best Regards,

Rafmine.

8 REPLIES 8

Kavita_Bhojane
Tera Guru

Hi @Community Alums,

 

You can refer below thread:

https://www.servicenow.com/community/developer-forum/how-to-auto-populate-time-zone-according-to-location-in-the-user/m-p/1905430/page/1

 

Please marks my answer correct and helpful, if you find it useful.

 

Thanks,

Kavita Bhojane 

Peter Bodelier
Giga Sage

Hi @Community Alums 

 

We'll need some more details.

Where do you need this?

What is the trigger? 

 

Please explain your use case some more, in order to get a valuable answer.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Not applicable

Hi Peter,

 

So the idea is that today all the users have the same timezone - CET, even those who live in US, We wanted to find a way to set the timezone based on his country. we want that in the user's profile you have a field "timezone". 

 

Rafmine_0-1700044457465.png

 

appreciate any help.

 

Best regards,

Rafmine.

Hi @Community Alums 

 

How are the locations of the users stored? How many detail do you have?


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.