This is how we do it in a Default value of the field: javascript: getDateTime(); function getDateTime() { var dateTime = new GlideDateTime(); dateTime.addSeconds(1800); return dateTime.getDisplayValue(); }
How to add 30 minutes to the current date time
Working Code Asked question May 27, 2025
Sorry, you do not have permission to read comments.