I'd stay away from local time and all its issues.
Trying to calculate deltas and durations with a broken
down local time like HH:MM:SS MM/DD/YY is an absolute mess.
Epoch based timing makes things so much simpler so it is often best
to stick with something like Unix time.
With that you can simply set an alarm to call a function.
In your case you could have it call a function to start the watering and another to stop the watering.
The timealarms library has some useful features that allow you do things based times
every day or only on particular days of the week.
Yes, I got that far too but what if I want to change the shedule to 22:00 - 02:00
bperrybap, Alarms won't work for me since it is possible that I will turn the system on while it should be watering already
Regards
EDIT: Nevermind, the simple solution actually works best, it was 5am when I was trying to solve this
Thank you for your help and sorry for this dumb question, its obviously just if > and <