You want to read Ken Grimwood's Replay - I heard Groundhog Day and several others were semi-based on it. The book is on a much longer timescale - and clever. Far more in it than you can fit in a movie.