How to find the time to program