a day has midnight