select format(getdate(),’yyyy-MM‘); — round to month select format(getdate(),’yyyy-MM-dd‘); — round to day select format(getdate(),’yyyy-MM-dd hh‘);