day_of_the_week(+Date,-DayOfTheWeek)Date = date(Year,Month,Day).
Days of the week are numbered from one to seven: Monday = 1, Tuesday =
2, ... , Sunday = 7.
day_of_the_week(+Date,-DayOfTheWeek)Date = date(Year,Month,Day).
Days of the week are numbered from one to seven: Monday = 1, Tuesday =
2, ... , Sunday = 7.