Urusei Yatsura: Beautiful Dreamer(1984)
As the perpetually lecherous Ataru and his friends prepare for a carnival at Tomobiki High School, they gradually realize the days are literally repeating themselves. Any effort to break the pattern dumps them back where they started.
Directed by Mamoru Oshii