Add AM/PM attribute to time field

brostoff17
Tera Contributor

Is there a way to add a AM/PM attribute to a time field?

Capture.PNG

4 REPLIES 4

Valor1
Giga Guru

Try setting the system time format to "hh:mm:ss a"


The property is under System Properties > System, about 3/4 down the page. Search in your browser for "Time format"


AmanG
ServiceNow Employee
ServiceNow Employee

If you have access to sys_properties - glide.sys.time_format = hh:mm:ss a (12 hours)


glide.sys.time_format = hh:mm:ss (24 hours)



Go to Basic Configuration from the navbar or the copy part of URL following instance name -



https://<instance-name>.service-now.com/$system_properties_ui.do?sysparm_title=System%20Configuration&sysparm_category=System%20Configuration



There's a drop down menu for time format -



Select your preference -   Save.




--


Aman G


ServiceNow, Inc


pareshwagh
Kilo Expert

If you want to change the time format system wide for an Istanbul based instance, you can go to System Properties > Basic Configuration, scroll down a little and select "hh:mm:ss a (12 hour AM/PM)" for the "Time format" setting.



Hope that helps.


PS: Please hit "Correct", "Helpful" or "Like" depending on the impact of the response.


brendanwilson84
Kilo Guru

thanks guys I did see that but I am concerned about touching the global settings, when this is only for a scoped application.