Patched time counter