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