Added the reverseDate() method.

Coverts date into year, month, and day.