Using seconds with rtc for less than a minute timer

So this is what I have so far but I am unsure for how to layout the sum as currently this does not work

What type does now.hour() return? If it returns an int, then 15 * 3600 will overflow an int register.

You need to cast now.hour() to unsigned long, and pumpState must also be unsigned long.