Skip to main content
Skip table of contents


The dateTime placeholder forwards all method calls to Joda DateTime API. Please refer to the original documentation for more information about implementation details.

Below you can find some of the most common implementation examples.





The current DateTime. See Joda DateTime API for more information. The current user locale can be obtained using $user.locale for the purpose of dateTime formatting.

dateTime.getYear()StringReturns the year field value.
dateTime.getMonthOfYear()StringReturns the month field value.
dateTime.getDayOfMonth()StringReturns the day field value.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.