• Validator that requires the control value to be a valid date/time (Date object).

    Parameters

    • c: AbstractControl

    Returns ValidationErrors | null

    An error object with the date property if the validation check fails, otherwise null.