Hello.
Essentially you have found the origin of the spanish dates in the star. The coin that From 1868 and until 1982 in almost spanish coins the main date there are the date of emission of the type of the coin (when the law of approvement of issue was published) and the internal date in the star, the real issue date.
You can find coins with one star and one number
https://en.numista.com/catalogue/pieces13984.html, one star with two numbers
https://en.numista.com/catalogue/pieces946.html, two stars with one number
https://en.numista.com/catalogue/pieces14677.html or two stars with two numbers
https://en.numista.com/catalogue/pieces8570.html
Also, from this date, 1868, all the stars has six points (belonging to Madrid mint). Before this, you can find the star as mint mark, with different number of points (six points, Madrid; five points, manila; four points, Jubia; seven points, Sevilla, and eight points, Barcelona)