
Every tyre has a DOT code on its sidewall. The last four digits are the week and year it was made: 2319 means week 23 of 2019.
The 4 digits at the end of the code, often in an oval. The whole DOT code works too.
A motorcycle rides on two small contact patches, so grip matters more than on a car. Tyres age even when they're not used: the rubber dries out and hardens, and old tyres can crack or lose grip in the wet long before the tread wears out. A bike that's ridden little can easily have plenty of tread on tyres that are too old.
Look on the sidewall for the letters DOT followed by a string of letters and numbers. The last four digits, often in a raised oval, are the date code. It may only be on one side of the tyre, so check both.
Check the date code on new tyres too: a "new" tyre can have sat in a warehouse for a few years.