Sleeping habits could be affecting your health

(CNN) -- Sleeping late could be more harmful to your health than previously thought, that's according to a new study in the journal Advances in Nutrition.

For children and teens, using cell phones, tablets and computers at night is associated with losing sleep time and sleep quality, new research finds.

The research found that people who stayed up late have an increased risk of heart disease and type-2 diabetes, compared to early risers. The study also found that less sleep often translated to poor eating habits.

Researchers say people who prefer to stay up late were more likely to eat unhealthy including fast food, alcohol and sugar. They were also more likely to skip breakfast.

Scientists explain that because night owls tend to eat later in the day, glucose levels spike just before bedtime. They say this goes against the body's normal processes and could impact metabolism.

The report also reveals that children were much more likely to be early risers.

Surprisingly--as people age--the study found that people tend to go back to their early-rising preferences of their youth. So, if you want to make healthier choices in the kitchen, making sure you get enough zzzs in the bedroom can help.