Specify the correct behaviour of the date conversion functions and also document the new checking functions.
Specify the correct behaviour of the date conversion functions and also
document the new checking functions.

kristapsdz/kcgi,kristapsdz/kcgi