SOLVED - remove dropdown option and disable today's date from date picker depending on time of day

I managed to solve this myself. I think my first attempt was over complicated! Lesson learned.

Hello everyone

Difficulty: I would like one option from my dropdown to disappear from 12 noon UK time. (It is very important that it is UK time only). Then I want to disable today’s date from the Date Picker. Is this possible?

I’ve tried trawling the forum to the answer to this question and have found bits and bobs but can’t create the code I need - I am a novice and a bit lost and confused.

I’ve already looked at: https://www.wix.com/code/home/forum/search/posts%3Fquery%3Dbaddate
https://www.wix.com/code/home/forum/community-discussion/time-of-day-based-dynamic-changes-via-with-code

Assuming this is possible, if anyone would be so kind as to point me in the right direction, I’d really appreciate it.

Thank you in advance.

Teri

How did you solve this? I am trying to do the same thing!