What do these numbers on the top of these mini linear actuators denote?
First two digits represent week of production followed by a year.

20X8 - 20th week of 2018.

These codes used for quality control. LEGO Customer Service may ask you to provide this number if there were an issue with a set or particular part.

Similar code exist on box seals too.