number of years after you are born is your age
Let your age be x
Then present year will be your year of birth +your age
This is a simple logic
It is not just for 2018.Every year your age + your year of birth will be that present year.
Hence this is not just true for 2018,but it is true for every year.