Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Changing the timezone from user preferences will affect the sys_user.Timezone?

divyadhanda
Tera Contributor

I am tring to change the timezone from the user preferences but the updates are not captured in the sys_user table also in the sys_user_preference table. Is this a OOB behaviour? How to resolve this?

1 ACCEPTED SOLUTION

@divyadhanda 

if they want to update their timezone then they should do this from portal

This is not direct and will require some customization

This KB explains the steps and also refer the other link

Enable Users to Update Their Time Zone via Service Portal Profile 

Some ACL changes are also required

Enable Timezone from user profile of end user from Service Portal 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

17 REPLIES 17

@divyadhanda 

if they want to update their timezone then they should do this from portal

This is not direct and will require some customization

This KB explains the steps and also refer the other link

Enable Users to Update Their Time Zone via Service Portal Profile 

Some ACL changes are also required

Enable Timezone from user profile of end user from Service Portal 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@divyadhanda 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

This information is really helpful, But I just wanted to understand where the user Preferences -> timezone is saved? because, our customer is using this option to change their timezone and if it is not updated in the sys_user table, there are few logic which will not execute. 

If it is not saved in the sys_user table, then what's the point in having the user preferences.

divyadhanda_0-1760508267829.png

 

@divyadhanda 

As mentioned earlier, it's just stored in session and nowhere in database

the purpose of that is if user wishes to change the see some date/time in other timezone, they can change it.

Usually users can belong to any region and users are onboarded via LDAP/AD and timezone is set based on Region/Country.

So ServiceNow has not allowed users to update the timezone backend value.

If user is allowed to update the timezone it will lead to data discrepancy.

Example: If user belongs to India and AD sets Timezone as IST but user updated it with GMT then it's data issue.

I will recommend to convince your customer and explain the above.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I even tried these options mentioned in the KB, but the about page is showing the read only data and it s not editable. I also did the ACL changes mentioned in the article.