Both synapsids and reptiles (sauropsids according to some) are known from
the Upper Carboniferous at around (if I remember correctly) 310-315 million
years ago.
About 312, close to the base of the Upper Carboniferous.
They were distinct lineages by then, so the split happened by that time at the latest.