Trains – Interrail discount and birthday

I plan to buy an Interrail ticket for March, but during the month I'll be 28 years old. The discount for the Interrail ticket is valid until the age of 28 years.

So, when I start my journey, am I 27 years old, and when I'm done, 28. When I buy the youth card or the adult ticket?