Rounding .Net DateTime to match SQL Server
The SQL Server DateTime type is represented by LINQ to SQL as a .Net System.DateTime type. This presents a small problem in that the .Net type supports more precision – a “tick” representing 100 nanoseconds – than the SQL type which is “rounded to increments of .000, .003, or .007 seconds”. It is worth noting […]
continue reading Rounding .Net DateTime to match SQL Server