declare @ct as datetime select @ct=GETDATE() print @ct select @ct=dateadd(month,datediff(month,0,@ct), '00:00:00') print @ct