Day & Night Cycle: Night isn't good?

How are you determining when the sun angle is 0?