The user must be able to set a date, in which case a certain event will happen on that date. Or don't set anything and the event won't happen. A couple of ideas:
I prefer 1 for compactness but I'm not sure it's clear when the checkbox is unchecked.
3 I think it is the clearest but on the other hand it is very verbose and consumes a lot of space
windows setting solves the problem with 4. clicking on the text description of the date opens a new ui (which I don't particularly like). the interesting thing is the toggles, that alongside have a description of the current state
Is there a best practice in this regard?