Got the right answer using a 'date' class.
Finished problem 20.