@Kraig *****
the visa has a a start and end date on it when it's issued by the embassy. The start date is the day it is issued and the end date is 5 years after that. That is when the visa ends.
When you enter Thailand you get 180 day entry stamp. That's just your permission to stay and has nothing to do with how long your visa is valid.