LED string timer

Is it possible to control a DC LED string so the it would light up at 7 PM (for example) and will turn off at 10 PM?

Yes