SELECT FORMAT(<your-date-field>,"YYYY-MM") AS year-date FROM <your-table>
DECLARE @date date = '04-18-2020' --date for act;
SELECT YEAR(date), MONTH(date) --, DAY(date) add if u want day
SELECT
DATEADD(MONTH, DATEDIFF(MONTH, 0, <dateField>), 0) AS [year_month_date_field]
FROM
<your_table>