The creator of “Four Weddings and a Funeral” and “Love Actually” wanders into “Groundhog Day” territory with his latest romance. “About Time” is about time travel and how it might be applied to finding and winning over Ms. Right when love at first sight needs a second chance.

Who wouldn’t like a second or third shot at making a killer first impression with a potential mate? That’s the possibility that Dad (Bill Nighy) presents to son Tim (Domhnall Gleeson). The men in their family can sneak off into a closet or somewhere hidden, clench their fists, and wish their way back to a moment they’d love to relive.

The magic of this Richard Curtis movie is in both the comical ways that gift comes in handy, and in the romantic and emotional ones.

Clumsy, awkward Tim tests this out on his sister’s pal, hot Charlotte (Margot Robbie). That’s when he — and we — realize that we could all use a do-over here and there. Fix that first impression, avoid letting a friend or relative down, rejigger your plans so that a hoped-for first meeting takes place (or is avoided). Make that first sexual encounter one for the ages.

Rachel McAdams is Mary, the American lass that Tim almost meets at one of those gimmick restaurants where the diners eat in the dark. The sparks fly. In the dark. However, the meeting doesn’t quite come off. Tim, a true romantic, stumbles and struggles and plots to get a second chance at his perfect match.

“About Time” takes us into the life they might share, and it finds ingenious ways to test love and the dilemma of choices as Tim keeps discovering all these “rules” about his time traveling. Go back too far, and she won’t remember you’ve met. Don’t go back far enough, and your troubled sister (Lydia Wilson) will still end up with a creep who ruins her life. Misuse this gift, and you’re no better than a stalker.

Gleeson — he played a Weasley sibling in the Harry Potter movies — is the son of great Irish actor Brendan Gleeson. He has a winning screen presence and clicks with McAdams, whose gift for chemistry with a wide array of leading men makes her the most underrated romantic comedy actress of her generation.

As in most Curtis films, things go on too long and turn a trifle gooey here and there. It doesn’t have the big heart-tugs of “Groundhog Day.” It’s a needlessly R-rated romance that would have worked better as a PG-13.

But “About Time” is a most romantic way to spend your time at the movies this fall, a “date picture” about do-over dates that works this time around.

A transit village with apartments, retailers, restaurants and a hotel is rising in Milpitas next to The Great Mall, close to light rail and the under-construction BART station. It’s one of several Silicon Valley projects sprouting up near transit.