Where I'm from, it's done at birth, it's just a standard part of a medical registration package thing your parents get. My parents kept my bloodtype card right next to my childhood vaccination records.
It's not like your bloodtype changes over time...