year of current date in a microflow
Hi, I need the year of the current day as a variable in a microflow: datePart(year,[%CurrentDateTime%]) But this does not work. How can I create an Integer in a MF with the year of today? Thanks Erik
Might be overkill but what about:
In Community Commons module, there is a Java action called GetIntFromDateTime that will do this for you.
I tried both!!!