This simple user macro renders current timestamp on the page (please note that it uses server's time)
Online demo
Wed Jul 03 08:56:03 EEST 2024
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
$action.dateFormatter.formatDateTime($content.currentDate)
Jul 03, 2024 08:56