Is there a way that you can disable a button at a set date and time?
For example, my work has a competition site running and I want to give people the option to change their weekly selections by clicking on an edit button up to 6pm on a certain Friday. After this time it either disappears or is just made inactive.
ie:
Comp 1 -> 'Edit' then disable after 6:00pm 2nd Jan
Comp 2 -> 'Edit' then disable after 6:00pm 9th Jan
Comp 3 -> 'Edit' then disable after 6:00pm 16th Jan etc....
I am not even sure where to start with this one.