Add dateutils module and unit test it