Perhaps two months at most. There was no noticeable change in seasons, although a tropical locale could account for that. Their clothes got ragged and hair grew long. It's interesting that they made no attempt to track the passage of time. Strange that no one had even a pocket watch.
The Franks are Captured by the Nazis
Anne and Margot Frank were spared immediate death in the Auschwitz gas chambers and instead were sent to Bergen-Belsen, a concentration camp in northern Germany. In February 1945, the Frank sisters died of typhus at Bergen-Belsen; their bodies were thrown into a mass grave.
Props to Bmxlife, answering the question by literally doing what the answer is. A. Boredom. Respect!