Q&A about the site for music historians, critics, and fans
SELECT DATEPART(HOUR, DATEADD(HH,##TimeZoneDiff##, CreationDate)) As Hour, COUNT(*) AS Count FROM Comments WHERE UserId = ##UserId## GROUP BY DATEPART(HOUR, DATEADD(HH,##TimeZoneDiff##, CreationDate)) ORDER BY Hour