Convert date format from YY-MM-DD to DD-MM-YYYY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 06:06 AM
Hi All,
In record producer we have one variable which is Date type, in employee center it is displaying as YY-MM-DD
I have requirement to change this from YY-MM-DD to DD-MM-YYYY in employee center form view and on the request information on the record should show in DD-MM-YYYY format.
I created script include and on change client script.
Script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 08:35 PM
that's now how the behavior will be.
Even if the format is DD-MM-YYYY but user can change the format from user preferences.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 11:06 PM
Hi @Ankur Bawiskar,
It is not about user user preferences right now variable type is date and format is YYYY-MM-DD
As mentioned above current functionality is PFB example snapshot.
Client want that to be changed to DD-MM-YYYY this is complete only when user able to see DD-MM-YYYY .
Now user requirement is to be in format Example- 01-08-2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 09:00 AM
how it's behaving with users with different date format?
what's the requirement in that case when user's have different date format?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader