Sunglasses help block out the white/blue light emitted from televison and computer screens. This light tells the body it is still “daytime” and so there is no need to secrete melatonin. The more yellow/orange light we get with sunset (and sunglasses) tells the body to prepare for change and at around 9 pm melatonin is secreted which prepares the body for sleep.