Systemvariables year, decade and century?

0
Is there a way to retrieve the beginning and end of the year, decade and century from a date? Something like: [%BeginOfCurrentYear%] [%EndOfCurrentYear%] [%BeginOfCurrentDecade%] [%EndOfCurrentDecade%] [%BeginOfCurrentCentury%] [%EndOfCurrentCentury%] This would really complete the time-related system variables form https://world.mendix.com/display/refguide3/XPath+Keywords+and+System+Variables
asked
3 answers
0

I'd say try something along the lines of this:

[%EndOfCurrentYear% + 10 * %YearLength%]

answered
0

There are no functions like these currently, if you need them for a specific purpose I suggest filing a feature request.

answered
0

I'll do that, especially since they're easily available in java as well in as in postgress – Arno Rog (2012-06-08

answered