How is difficulty used by mining clients?

Elijah: 2 weeks ago

I understand how it's calculated and what its intent is. I'm unsure of how the value is being used in practice.

Liam: 2 weeks ago

In short it increases/decreases the number of computations (time needed) to solve the proof-of-work puzzles to adjust the actual mining time to the target mining time.