You can use the T-SQL DATEFROMPARTS() function in SQL Server to return a date value that maps to the date parts that you provide as integer expressions.
The way it works is, you provide three values (one for each of the year, month, and day values), and SQL Server will return a date value based on the values you provide.
Examples below.