Are my wages, on my 2018 W-2, for wages earned in 2018, or wages paid in 2018? In other words, if all my Dec 2018 wages were paid in Jan 2019, are they in my 2018 W-2?

Or are the December 2018 wages not included on my 2018 W-2?