Add day-of-week functions.