Stop counting calories. It’s the clock that counts.

That’s the concept behind time-restricted feeding, or TRF, a strategy increasingly being studied by researchers as a tool for weight-loss, diabetes prevention and even longevity.

In TRF, you can eat whatever you want and as much as you want—just not whenever you want. Daily food intake...