I guess I’ll try millis().
This is just one of many reasons I hated being a programmer! Hardware is so much more logical.