Get current year in TSQL

Yes, it’s remarkably easy in fact:

WHERE YEAR(A.[reimbursementDate]) = YEAR(GETDATE())

Leave a Comment