This looks like the same question that was posted on StackOverflow here. Did none of the answers already provided there solve your problem? If not, then you need to add comments there explaining why - then the people already invested in providing assistance can fine tune their answers for your and any future user's benefit.
Cross-posting to multiple forums without referencing the other posts is generally considered poor form. It's fine cross-posting if you don't get a response in the other forums, or if you simultaneously cross-post and then provide links to the other posts, but please don't waste people's time cross-posting if you already getting assistance elsewhere.
There you go again. You seem to focus only on what you want to have, and rarely acknowledge the suggestions you receive. You not only withhold information, you have the habit of creating a lot a duplication, hence waste.
Please, have some manners and learn to share. As Carl says, discussions that share sources and contain as much information as possible will help others, besides just you.
I have had a look at your previous posts. The following code will give you the value of the current year dynamically: