In a few anime and manga the protagonist or entire group are stuck in certain time event can't make time move forward. I mean whatever the protagonist does, the day is always September 2 all the time. In order to change that, he needs to do something. For example (Kurugaya route in Little Buster Viusal Novel, first volume of Hakomari Light Novel).
What were the first manga and anime produced with such trait?