The boundaries of day and night