submit valid date format

submit valid date format

When i submit a form i use form.getFieldValues()).

This is usually good, but it won't get the format of the date that i would like. The format i would like to get is when invoking getRawValue() from the datefield specifically. It is the same format that is configured to be displayed, in this case, d.m.Y.