How can I get a current year in ./confluence/decorators/includes/footer-content.vm? I can get a date string by $action.getDateFormatter().getCurrentDate() but want to use the DataFormatter to format for just year but it takes Date objects and I seem to lack one.
I want to put copyright my-corp $year in the footer.
Thanks