Maximum timer.setInterval()

Hello,

Iā€™m building a temperature controller with a fridge and I have one questions.

What is the maximum value for setInterval() that I can set?

The maximum value of the long type variable is 2,147,483,647 milliseconds, which is equal to (24.85) days.

2 Likes

Thanks @John93!!!

1 Like