I actually read two of those books and it was the magician's nephew and the yearling. I liked the magician's nephew better than the yearling.
Answer:
As stated that The Wednesday Wars by Gary Schmidt
is correct.
7.9m questions
10.5m answers