timer to pgi codes