DateTime now = DateTime.Now;
dates = System.Data.Objects.SqlClient.SqlFunctions.DateDiff("dd", n.CreatedDateTime, now)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)