How would you do it manually? Given two dates with day, month and year how would you compare them?

Hint: there could need to be three comparisons made. One for each field.