Added custom DateTime validation

Added custom DateTime validation