Best way to get record counts grouped by month, adjusted for time zone, using SQL or LINQ to SQL
- by Jeff Putz
I'm looking for the most efficient way to suck out a series of monthly counts of records in my database, but adjusting for time zone, since the times are actually stored as UTC. I would like my result set to be a series of objects that include month, year and count.
I have LINQ to SQL objects that looks something like this:
public class MyRecord…