i need to remove the seconds for date and time field in catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2022 07:47 PM
Hi Team,
in the catalog item i have a field "start date" its a date and time field.
actually my requirement i need to remove the seconds , user can able to select only date and time , no need seconds.
can someone help me with the script.
Regards,
Banu
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2022 08:27 PM
Hi,
This is not possible.
Either you can use Date field or Date and Time. We cannot customize behavior of particular field when it is date and time.
Anyway if the field is date and time user need to select date only, it takes hours, minutes and secods as per current time.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2022 08:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2022 09:03 PM
I would suggest to keep it as it is and don't disturb the OOB structure.
If it's date/time type then seconds is somewhat which will come
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2022 09:08 PM
but as per my requirement client don't need a seconds in the field.
they required only date and time(hours and minutes).