DOW start with 0 (Sun), so maths is fairly simple. It is just DOW times the angle (per increment).
Both Month and Day start with 1, so need to be number-1 (to start with 0). Then same as for DOW, number times the angle (per increment).
Hours, Minutes, and Seconds?
You might also need leading-zero logic, for presentation.