differenciate between day and night