Ported more comparison tests.
Added datetime handling routines.