Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Created by Guest
Created on Mar 19, 2020

if drive can deal with DateTime.Date,it will be useful

we offen have this require,we need to compare DateTime field on Date(exclude time),but if use drive compare with DateTime.Date,drive will throw a exception tell us dont support.. db.CheckOns.Find(x => x.RecordTime.Date == new DateTime(2020, 3, 19)).ToList(); //public DateTime RecordTime{get;set}
  • ADMIN RESPONSE
    Oct 18, 2025
    This should be addressed as a part of https://jira.mongodb.org/browse/CSHARP-4743