Need to remove 'seconds' from the Time component for dateTime field over the system.
This content was last updated in 2022. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2022 04:29 AM
Hello,
I've a requirement where the 'seconds' shouldn't be displayed from the time component i.e instead of HH:MM:SS it should only displayed as HH:MM all over the system. Is that possible to achieve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2022 05:00 AM
Hi Monica,
you cannot remove that.
Other way is to use DOM manipulation which is not recommended.
you cannot remove them, you can change the value with a client script or display business rule to change them to 00 for the seconds.
Refer to this thread: https://community.servicenow.com/community?id=community_question&sys_id=448fd2901b4ca410305fea89bd4b...
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep