How do you know if it is the weekend?

grateful for the support I ask for help to solve the following problem.

In the reservation app that I am building, I want to know if one of the days I select corresponds to a weekend (Friday or Saturday) to be able to show the amount of the reservation at the end of the reservation.

make visible a text “if one of the days chosen is a weekend”
or show another text if the chosen day is from Sunday to Thursday

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.