I'm hoping that this should just be a simple issue for someone who regularly writes User Macros for confluence.
I'd simply like to just display the week of year on the page. I have created the user macro with the usual metadata and included the following to just show the current date for now:
## @noparams
<div>$content.currentDate</div>
The version of confluence is 5.9.8 and I have searched the documentation to try and find any methods for the 'currentDate' property, but it isn't documented that the currentDate field even exists on the ContentEntityObject ($content). I have tried to use '$content.currentDate.get(3)' as I believe in Java this returns the week of the year but then Confluence just renders the entire block as plain text.