Tag: first day of week

Microsoft SQL Server

MS SQL: Get the First Day of Week in Transact-SQL

In Transact-SQL the first day of week can be calculated based on the @@datefirst system variable. The variable will return different values depending on which language has been configured for the server. For US English the first day of week will be set to 7, i.e. Sunday, while for other regions the first day will […]

Back To Top


Subscribe to our newsletter