Moj date helper2

remove duplicate commits & move InvalidDate class into its own file