How can I retrieve data for current year?

0
Hi Team, I want to retrieve data for current year in microflow, how I can achieve this? if it is possible using xpath then what do I need to add condition? Thanks and Regards, Samarth Jadhav
asked
2 answers
1

See my answer on your next forum question; https://forum.mendix.com/link/questions/109757

all the same, except use the year functions

answered
0

Look at the documentation here: https://docs.mendix.com/refguide/xpath-keywords-and-system-variables

You have the [%BeginOfCurrentYear%] or the UTC variant. And you can use things like '[%%BeginOfCurrentYear%] - 3 * [%YearLength%]' to retrieve other years. You could also create a variable and use the addyears function to change dates.

Regards,

Ronald

answered