How can data in document templates be formatted?

You can attach additional formatting options, separated by |, to Date variables. The format specifications can be made up of the following variables:

Variable Value
Date  
d 01-31
j 1-31
S st, nd, th
Week day  
D Mon
l Sunday
Month  
F January
M Jan
m 01-12
n 1-12
Year  
Y 1991
y 91

Example

The following formatting coverts the date 21.07.2016 to Thursday, 21. July 2016.

{{document_date|l, dS F Y}}

 

Was this article helpful?

Can't find what you're looking for?

We are happy to help you! Just write us a message with your questions and we will get back to you as soon as possible.

Submit a request

Comments

0 comments

Article is closed for comments.

    Topics of this article