Palm Springs, starring Andy Samberg, directed by Max Barbakow, written by Andy Siara, and co-produced by Akiva Schaffer and Jorma Taccone, thus making this a "Lonely Island Classics" film, is, in the words of its lead character, "one of those infinite time-loop situations you might have heard about." Like Groundhog Day, like Edge of Tomorrow, like Russian Doll.
It's going to assume you've seen one of those already, or at least are familiar with the general principle. But when we first "meet" Samberg's Nyles, he's already been repeating the same day countless times, and that explains why he's acting so weird.
Read more on tvguide.com