I am trying to solve the problem with dates validation.
The prerequisites are:
- A date field to check
- A text string where days of the week AND times of the operation of an establishment are stored. This string might have a format of:
- H24 or
- DLY 1500-0530 or
- MON-FRI 0700-2300 SAT SUN 0800-2300 or
- MON 0415-1415 1900-2000 TUE THU 0600-1300 1830-1930 WED 1800-2000 FRI 0415-2000 SAT 1400-1600 SUN 0415-0730 1200-1415 1900-2000
I need to check if the date in the date field falls into these periods of time and use the result TRUE/FALSE.
Any idea on how to create a formula will be greatly appreciated. Thank you
