SQL today to yyyymmdd 2021.01.232021.02.02 CONVERT(int, GETDATE(), 112) AS 'yyyymmdd' FORMAT(GETDATE(),'yyyyMMdd') AS 'yyyymmdd'