I was paid in 2018 for wages earned in 2016. In what year is that reported?

My payroll office deducted the amount from the W-2 for 2018 but will not reply to any of my queries and my employer is clueless.