method to get first day of month in sql server code example
Example: get first monday of month sql
select DATEADD(wk, DATEDIFF(wk,0,
dateadd(dd,6-datepart(day,getdate()),getdate())
), 0)
--Change getdate to your variable