DateTime.getWeekday() - Mtax-Development/GML-OOP GitHub Wiki Arguments None. Returns {int} | On error: {undefined} Description Return the day count in the week of the date component, starting from 0 and treating Sunday as the frist day of the week. ⚠️ **GitHub.com Fallback** ⚠️