Intermittent fasting, also called time-restricted fasting has been in the limelight lately.