Storing Business Hours in a Database

后端 未结 6 663
迷失自我
迷失自我 2020-12-04 07:05

I\'m currently trying to work out the best way to store a business\' hours of operation in a database.

For example:

Business A has the following hours of ope

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-04 07:43

    Might think about factoring in holidays by including additional fields for month of year/day of month/week of month. Week of month has some minor subtlties "last" could for example be week 4 or 5 depending on the year.

提交回复
热议问题