Change date format of a catalog item variable date field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:50 AM - edited 11-28-2022 03:11 AM
Is there a way I can change the date format to this kind of format?
When I select a date it becomes like this
This is my date variable
Is it possible to add something/configure this script? I have this script cause I had to make it so it wont select the past date. Would it be possible to add something to these scripts so it will change the format to dd-Month(or MM)-YYYY
onChange Script:
Script Include:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 03:44 AM
hi @MelvinBulan
The validation can be done with UI Policy with no code, check below link
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 05:08 AM
Hello Rohila,
How do I change the format of the date as mentioned above?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 05:31 AM
Hi @MelvinBulan
The format which is shown is as per logged in user's date format, It should be changed at system level for all users or user level.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2024 01:20 AM
Did you find the solution for it?
I have same question
please help if you know the solution