time of night code example Example: What is night time Period of ambient darkness when the sun is below the horizon