how can I avoid the generation of the html attribute \"data-val-date\" for the element created from a Datetime property?
The model:
public class Regi
data-val-date is used by the validation system to validate the date. If you remove it, client-side validation won't work.
If that's what you want, then just disable client-side validation.