How do I determine a public holiday in Sql server?

前端 未结 24 1861
慢半拍i
慢半拍i 2020-12-05 14:40

I have an application written in c# that cannot run on a public holiday or a weekend. I\'ve looked around a bit and haven\'t found anywhere (official) that provides all the

24条回答
  •  不思量自难忘°
    2020-12-05 15:11

    Isn't a public holiday very dependent of locale?

    Programatically, there is no way to compute this. Alternatively, you will need to find an official list of holidays for each of your locales. And even so, you will not get the granularity you want.

提交回复
热议问题