SyntaxFix
Write A Post
Hire A Developer
Questions
Its too late but following worked for me well
declare @vCurrentDate date=getutcdate() select @vCurrentDate
When data type is date, hours would be truncated