This simple user macro renders current timestamp on the page (please note that it uses server's time)
Online demo
Wed Mar 29 22:24:24 EEST 2023
User macro code
## @noparams $content.currentDate
Full configuration
Also you can extend this to print out date and time using formatting options you have configured in your Confluence and in user's timezone
$action.dateFormatter.formatDateTime($content.currentDate)
Mar 29, 2023 22:24