Set an automatic end date for an automation

I don’t see this specifically requested before. I would like to set an automation to turn off at a specific date.