I've been reading about fasting as part of the keto diet. For example, some say only eat during 8 contiguous hours in every 24 hour period.

This made me think of Ramadan, where you don't eat during daylight hours. Has anyone done this?