Is it possible in mongo db to write a query to access the year portion of a DateTimeOffset
i.e.
var result = from x in coll.AsQueryable()
where x.MyDate.Year == 2018
select x;
Can I do this with a custom serializer ? if so how ? and how does Linq handle it? or would I have to cut the query in raw Json ?