sql get first day of month from date 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