I'm using Microsoft SQL server and in the SQL server by default first day of week is Sunday but I need to set it Monday is the first day of week.
You can use
SET DATEFIRST { number }
| Number | Day |
|---|---|
| 1 | Monday |
| 2 | Tuesday |
| 3 | Wednesday |
| 4 | Thursday |
| 5 | Friday |
| 6 | Saturday |
| 7 | Sunday |
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With