CBS has ordered a pilot, based on the web series “7P/10E,” Variety has learned.

Titled “My Time/Your Time,” the romantic comedy hails from Hilary Winston and “How I Met Your Mother” creators Carter Bays and Craig Thomas. CBS Television Studios and Sony Pictures TV will produce.

Based on Avital Ash’s web series, the hybrid comedy chronicles the relationship of a young couple as they begin dating long distance.

The pilot marks a return to CBS for Winston, who created the network’s short-lived series “Bad Teacher,” which was based on the Cameron Diaz movie, but canceled after one season. Winston is writer of “My Time/Your Time” and will exec produce with Bays and Thomas who are both under an overall deal at Sony and also return to CBS, after their long-running “HIMYM.” Winston will produce through her Gifted and Talented Camp shingle, Bays by way of his Bays Airlines banner, and Thomas via his Chocolate Cow Entertainment shingle.

The pickup comes the same day CBS ordered pilots for “Drew,” the modernized Nancy Drew series, and an untitled family comedy based on the Australian series “Upper Middle Bogan.”

“My Time/Your Time” marks the fourth pilot in contention for CBS’s 2016-17 season, in addition to “Drew,” the “Upper Middle Bogan” adaptation and legal drama “Doubt,” which was re-developed for this pilot season adding stars Katherine Heigl and Steven Pasquale, along with Laverne Cox. At this point, CBS has two dramas and two comedies in the running.