I use EFCore 3.1 with Code-First. My model:
[Required] [Column(TypeName = "date")] public DateTime MyDate{ get; set; }
When