-Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function.
-Cleanup: replace some magic '1920' values with BASE_YEAR.
-Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments