select cast((convert(varchar(4), DATEPART( yy , getdate())) + '-' +
convert(varchar(2), DATEPART(mm , getdate())) + '-' +
convert(varchar(2), DATEPART(dd , getdate())) + ' ' +
convert(varchar(2), DATEPART(hh , getdate())) + ':' + '00:00') as datetime)