GlideSchedule.add() returns unexpected date and time for non-business dayIssue The result of GlideSchedule.add() is not as expected when the start date is a non-business day. In the first example, the expected date is 2026-03-02 00:00:00, but the actual result is 2026-03-02 15:00:00. Symptoms The first script returns 2026-03-02 15:00:00 instead of the expected 2026-03-02 00:00:00.The second script returns the expected result. First script (unexpected result): var dur = new GlideDuration(60 * 60 * 24 * 1000); var schedule = new GlideSchedule(company_cal, 'Asia/Tokyo'); var date1 = new GlideDateTime('2026-03-01 00:00:00'); gs.info("targetDay1: " + date1); var targetDay1 = schedule.add(date1, dur, "Asia/Tokyo"); gs.info("targetDay1: " + targetDay1); Second script (expected result): dur = new GlideDuration(60 * 60 * 24 * 1000); var date2 = new GlideDateTime('2026-04-01 00:00:00'); gs.info("targetDay2: " + date2); var targetDay2 = schedule.add(date2, dur, "Asia/Tokyo"); gs.info("targetDay2: " + targetDay2); Release All supported releases Cause The date used in the call is a non-business day. If the date is a business day, the result is as expected. Resolution Use a business day instead of a non-business day. Use isValidAnalysisDate to check whether a date is a business day.Select a business day as the start date if the check shows that the date is a non-business day.Run the script again and confirm that the result is as expected.