3 ms·As long as that interval is less than ~24 days, IIRC.by ficklepickle 6y agoAs long as that interval is less than ~24 days, IIRC.xuki 6y agoEasy, use a global counter and only run the function when i % x == 0; i++;