It seems like setTimeout can only handle ms values less than or equal to 2147483648-1 (~24 days) Try Please login or register to see this code. If you need to set timers further into the future you need to patch setTimeout and clearTimeout Please login or register to see this code. Updated with correct values thanks to @petergebruers