Set default date on date field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 12:55 AM
Hi,
I just created a new Date field that shows only when incident on hold. I am trying to set a default date using dictionaries default value, however none of the javascript GlideDateTime seem to work.
I just need to set the default value to be 6 days from current date. Please help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 01:04 AM
Note: Instead of : -- just use colon symbol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 01:15 AM
Hi I added javascript: var gdt = new GlideDateTime(); gdt.addDays(6);gdt.getDate(); and is still blank

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 01:17 AM
Hi, remove : and update it like below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 01:19 AM
Ye, still blank 😞

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 01:20 AM
can you post the screenshot?