date on components: Year, Month, Day


How can i take just a Current year, not all the date as it is the function.

I need to validate a field that it couldn’t be greater than current year in our case 2010.
It is any funcion that i can taka just a current year.


you can use year(today()).

I think it is not a solution, year should be a function i dont think that nav has this function.

BTW thnx for feedback.

I thought you were asked in dynamics ax.

It will be better if you ask that question in dynamics nav forum