Set date field to today's date by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2020 05:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2020 06:08 AM
Hey JJG,
Try:
javascript:new GlideDate();
Result:
Its working.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy.
Thanks,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2020 07:02 AM
Hey JJG,
The gs.nowDateTime() method is not available in scoped applications. |
Try in this way for Scoped application.
RESULT:
It works AS per your requirement for Scoped applications.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy.
Thanks,
Namrata

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2020 05:37 AM
Hi,
javascript:new GlideDateTime.getDate();
mark my answer correct helpful based on impact
regards,
apeksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2020 05:44 AM
That does not work, remember that the field is not a date/time field, just a date field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2020 05:47 AM
try :
javascript:new GlideDateTime.getDate();