Quantcast
Channel: Questions in topic: "calendar"
Viewing all articles
Browse latest Browse all 26

Adjust date to day-before if it is a holiday

$
0
0

We're having with one holiday schedule table. We have to pass a date parameter, if the date matches with holiday schedule the date should display previous date, if that also matches then date should be previous of previous date. Please find below example

If "Today" is a holiday date then display yesterday, if yesterday was also a holiday then previous date should be displayed and so on.


Viewing all articles
Browse latest Browse all 26

Trending Articles