Especially when it comes to the date functions, it is often necessary to use multiple functions embedded within each other.
- ?formatDate(?now(), dd' MMMM 'yyyy)
- e.g. 29 February 2012
- ?formatDate(?now(), dd' MMM 'yyyy)
- e.g. 29 Feb 2012
- ?formatDate(?now(), dd-MMM-yyyy)
- e.g. 29-Feb-2012
- ?formatDate(?now(), dd.MM.yyyy)
- e.g. 29.02.2012
- ?formatDate(?now(), dd/MM/yyyy)
- e.g. 29/02/2012
A more complex example involving embedded functions is e.g.:
?formatDate(?modifyDate(?parseDate
(22.2.2012, dd.MM.yyyy),-1d),dd.MM.yy)
This function will parse the date 22.2.2012 into an internal format, subtract one day and then format it as a dd.MM.yy, in this case: 21.2.12.
Copyright BREDEX GmbH 2014. Made available under the Eclipse Public License v1.0.