Min last {{ title }} time {{ $any(formGroup.controls).minTime.getError('invalidDateTime') }} Max last {{ title }} time {{ $any(formGroup.controls).maxTime.getError('invalidDateTime') }} Either one or both times have to be set. Min timestamp has to be strictly before the max timestamp.