~は Nでは ありませんでした
The past equivalent of N ではありません is Nではありませんでした.
きのうは マナさんの たんじょうびでは ありませんでした。 Yesterday was not Mana's birthday.