Latest self Aptitude Question SOLUTION: f D = the day (1-366) in year Y, then the day of the week can be calculated using d = D+Y+(Y-1)/4 - (Y-1)/100 + (Y-1)/400 mod7