This is a question of best practices. I have a utility that takes in a two digit year as a string and I need to convert it to a four digit year as a string. right now I do <
It might be smarter to check tmpYear > currentYear%100. If it is, then it's 19XX, otherwise 20XX.