Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2026 01:54 AM - edited 04-24-2026 01:54 AM
Hi @Axel5 ,
At our end, we are currently using the following snippet:
var dayOfWeek = new GlideDateTime().getDate().getDayOfWeek();
This appears to be working fine for us.
You may also want to consider adding additional logging (gs.log) to help identify exactly where the issue might be occurring.
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti