title: Use date without time in database with ef
body: <p>What class should I use to save a date (without time) with ef and asp.net core (using database postgres)? DateTimeOffset always tries to save a time.</p>
  
  <pre><code>public class something
  {
          [Column(TypeName="date")]
          [Required]
          public DateTimeOffset StartDate { get; set; }
  }
  </code></pre>