I need to write a little arduino program that is going to trigger a solenoid every few days. I’m a newbie programmer. I’m told that millis() will overflow and reset after awhile. If I just do a super long delay is that ok? Will a long delay somehow be affected by millis() resetting? Or be affected by some other clock thing resetting after awhile?
"I’m told that millis() will overflow and reset after awhile."
You are correct. With proper calculations (current time - earlier time) the overflow will not matter (when it occurs in 49+ days).
"If I just do a super long delay is that ok? "
That's one way that works.
Use 3600000UL as 360000 is more than fits in an INT (I believe this is th default type if not defined).
"Will a long delay somehow be affected by millis() resetting?"
No.
"Or be affected by some other clock thing resetting after awhile?"
Only loss of power.
You could add an 8-pin real time clock chip, and watch for the next time you want.