Might be overkill but what about:
parseInteger(formatDateTime(trimToYears([%CurrentDateTime%]),'yyyy'))
Erik,
In Community Commons module, there is a Java action called GetIntFromDateTime that will do this for you.
Mike
Thanks guys.
I tried both!!!