Check out example codes for "sql week commencing date". It will help you in understanding the concepts better.

Code Example 1

DATEADD(dd, -(DATEPART(dw, [Date])-1), [Date])

Learn ReactJs, React Native from akashmittal.com