The motion detector itself is just a device, but what I think you want to do is have something happen between certain hours?
If that is the case, you can use a SmartApp called “Rule Machine” (commonly referred to as “RM”) to easily have something happen (like turn on lights) if a particular trigger (like motion detected) during certain hours of the day.
Note: as @Belgarion mentioned, you’re not actually programming the motion sensor itself, you’re setting up a rule which tells SmartThings what to do when the motion sensor triggers. In this case, you would be telling it to ignore the motion sensor for the purposes of the security notification except during a specific time period.
I’m confused about where you found that screen shot that you posted? I"m also trying to do the same thing.
I have some outdoor floodlights, and they are working fine on a timer right now. I’m about to add a motion sensor, and I only want the motion sensor to turn the floodlights on between 10pm and 6am (middle of the night) … but have not been able to locate where I can add this time constraint to the motion sensor …
The screen you posted seems to provide this … but I can’t find where that is?
I can no longer use the SmartThings mobile app because they broke VoiceOver functionality about six months ago, but at the time that I posted the screenshot it was as described. Choose smart home monitor, edit the rules ( usually by tapping a small gear icon somewhere on the screen), then create a custom rule and the time restrictions will be under “more options” or something like that.