SQL Dateff (Date_part, Start_Date, end_date)

SELECT DATEDIFF(month, '2020-12-31 23:59:59', '2022-01-01 00:00:00');
-- outputs: 13
SAMER SAEID