Restricting Change of Time as per user's local time zone

Anshul12
Tera Contributor

I have a requirement that I need to restrict the user from changing the Date & Time as per their local time zone. For example, If I save the field's value as per my time zone, all the users should see the same irrespective of their local time zone.

3 REPLIES 3

Community Alums
Not applicable

Hello @Anshul12 ,

 

By default, the out-of-box system the users with the admin or itil role will be able to set their own time zone value in the instance.  The following screenshot shows how the out-of-box view of this property might appear:

 

Khushbookabra_0-1682965053667.png

 

If u want to restrict users select/remove their role in value.

 

Filter the properties to locate the system property with the name glide.timezone_changer.roles.

Open this property for editing.

 

To modify this value, simply change the roles as listed in the Value field.  This should be a comma differentiated list of role names that should have the capability to change the personalized time zone.

 

Click the Update button.  After the property is adjusted, users who access the instance after the change has been saved should then be able to change their personalized time zone set for that instance.

 

 

@Anshul12 , Please mark my answer as "Accept as Solution" and "Helpfuls." If it works for you.

 

Thank you.

Anshul12
Tera Contributor

Hello @Community Alums thanks for your prompt reply, but I do not want to restrict the conversion for the users entirely but only to 2 specific fields. How can I restrict the conversion of date/ time only for those fields?

Ashanmugam
Tera Contributor

Hi @Anshul12 @Community Alums Anshul12, have you got any solution for the above problem, as we are having the same requirement and wanted to know how to configure that.