add datetime cast support to the date validator
closes #475
thanks Felix Gilcher