- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2017 10:13 AM
I have two Date/Time variables on a service catalog item for the client to select a start date/time and an end date/time for when they would like to receive the service. The seconds do not provide much value and are defaulted to the current running second. Is it possible to remove the seconds or default them to 00?
Thanks,
Jenny
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2017 10:16 AM
While you cannot remove them, you can modify the value with a client script or business rule to change them to 00 after entry.
Reference:
Business Rules - ServiceNow Wiki
Business Rules Best Practices - ServiceNow Wiki
Docs: Client Scripts
Client Script Best Practices - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2017 10:16 AM
While you cannot remove them, you can modify the value with a client script or business rule to change them to 00 after entry.
Reference:
Business Rules - ServiceNow Wiki
Business Rules Best Practices - ServiceNow Wiki
Docs: Client Scripts
Client Script Best Practices - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2017 11:59 AM
Okay, thanks Chuck. I wish the seconds are not displayed on the UI for a number of reasons. First, it clutters up the interface; more digits to read. Second, on mobile list view, the real estate is limited. So I need to modify with a script to get rid of the seconds. Just more scripts to maintain I guess.
I'm curious to know which service industries are actually needing seconds in their UI. For everything we do, it seems like we only care about date, hours and minutes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2020 02:25 AM
Hello chuck,
How to remove the seconds using BR or client script? I have similar requirement can you please help me out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2017 04:04 AM
System Properties > System > Time Format
I knocked off the :ss (seconds), and it looks to me it has worked. Can one or more of you test and confirm?