Code Problem of the Week - Calculating Average Bed Times
One of the features of the software I work on [http://www.actigraphcorp.com/solutions-and-products/software/actilife/] is it's ability to tell you how well/poor you slept during the night. The software can also automatically calculate when you went to sleep and when you woke up. We&…