Deductions & credits

I started a job in late December, the employer reported the income on 2023 W2, but I did not recieve the income until January 2024. I assume I report the income on my 2024 return, but the W2 is from 2023. How do I report it without a W2?