You can access the Date in two ways:
You can add a two way binding on clrDate
to access the date value.
The benefit of using this approach is that you can interact with the Date picker
directly using Javascript Date objects which would avoid converting values from
string to date and vice versa on the application side.
Template Driven Forms use the ngModel
directive to
create a binding between the model and the input field.
Reactive Forms use FormControl
s to create the binding between
the model and the input field.