Yes, this works. but I want to have it enabled constantly because I like my screen that way.
It sounds like you’re trying to schedule Dark Mode to stay on all the time, which can be accomplished by choosing “Dark” in System Settings-> Appearance in Ventura or later, or in System Preferences-> General in Monterey or earlier.
https://support.apple.com/en-ca/guide/mac-help/mchlp1109/mac