Just Code‎ > ‎

TSQL Minutes from midnight

posted Dec 6, 2009, 1:38 PM by Peter Henell   [ updated Dec 7, 2009, 3:28 AM ]
select datediff(mi, CAST(CONVERT(VARCHAR(10), GETDATE(), 101) AS DATETIME),  getdate())
Comments