Time-restricted eating, a form of intermittent fasting, means eating all your calories within a six- to ten-hour window during the day when you're most active.