Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 08:50 AM
I have a Script Include/Client Script that adds 27 months to a date field, the problem is it changes the date format to 2023-09-12 instead of 09-12-2023.
How can I update the client script to show the correct format?
Solved! Go to Solution.
Labels:
- Labels:
-
Service Desk
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 10:56 AM
Find the solution... Added this line of code
g_form.setValue('certificate_expiration_date',formattedDate);
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 10:56 AM
Find the solution... Added this line of code
g_form.setValue('certificate_expiration_date',formattedDate);