As mentioned earlier, they need sunlight to generate power. Since there will be no sunlight at night, solar panels would not be able to generate current.