Method Calendar.YMD.Week()->day() Method day Day day() Day day(int n) Day day(string name) Description The Week type overloads the day() method, so it is possible to get a specified weekday by string: week->day("sunday") The integer and no argument behavior is inherited from YMD(). Note the weekday-from-string routine is language dependent.