How to get the amount of elapsed minutes in current quarter in T-SQL
If you want to know the amount of elapsed minutes in the current quarter, you can use the following T-SQL code: declare @CurrentDateTime datetime = '2014-03-27 10:56:10' declare @MinutesPassedInHour int = convert(int, datepart(minute, @CurrentDateTime)) declare