In RavenDB, I would like to query the database using a date field. How can I write a LINQ query to query the RavenDB that involves date comparison..
Session.Query<Movie>()
.Where(x => x.Status == "New" && x.ReleaseDate > DateTime.Parse("04/03/2012 00:00:00"))
.Dump();
is returning zero records inm LINQ pad. Something is not right the way I wrote the query.. thanks for any help.
Instead of DateTime.Parse() try instantiating a new DateTime.