How to change the date format (YYYY,MM,DD) to (DD,MM,YYYY) in the case fom.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 01:45 AM
16 REPLIES 16
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 01:57 AM
Use the below
var gdt1 = new GlideDate();
gdt1.setDisplayValue(current.getValue('date'));
var fDate = gdt1.getByFormat("dd MM YYYY");
current.date = fDate
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 02:00 AM
where I have to use this code....?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 02:19 AM
How you are setting this field now ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 02:21 AM
dictionary entry