var db = new XDataContext(); var q = from t in db.Posts select t; var to = new DateTime(2011, 2, 1).AddMilliseconds(-1); q = q.Where(n => n.Date <= to); foreach (var qq in q) // I get FEBRUARY items here!!!
DateTime(yyyy,mm,dd)
DateTime
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)