midnight is set based on compile time.