🔠 How can I format dates in ChiliDocs®?

Depending on the region or country, different date formats are common. In ChiliDocs®, you can flexibly adjust the format in your Word template by adding a format argument to the control character.

👉 Example:

[deal.closedate(format:dd-MM-yyyy)] → 31-12-2024

 



âś… Available date and time formats

  • Date (dd-MM-yyyy):

    [deal.closedate(format:dd-MM-yyyy)] → 31-12-2024

  • Date only:

    [deal.closedate(format:dateonly)] → 31.12.2024

  • Time only:

    [deal.closedate(format:timeonly)] → 10:32

  • US date (MM.dd.yyyy):

    [deal.closedate(format:MM.dd.yyyy)] → 12.31.2024

  • Year/Month:

    [deal.closedate(format:yyyy/MM)] → 2024/12

  • Day Month Year:

    [deal.closedate(format:dd MMMM yyyy)] → 31 December 2024

 



âś… Placeholder tokens explained

  • dd → Day as two digits (01–31)

  • MM → Month as two digits (01–12)

  • MMMM → Full month name (“September”)

  • yyyy → Year in four digits (2025)

  • HH → Hour in 24h format (00–23)

  • mm → Minutes (00–59)

  • ss → Seconds (00–59)

 

⚠️ Note:

Letter case matters. Example:

  • MM = Month

  • mm = Minutes

 



âś… Supported separators

  • Dash → dd-MM-yyyy → 31-12-2024

  • Dot → dd.MM.yyyy → 31.12.2024

  • Slash → dd/MM/yyyy → 31/12/2024

  • Space → dd. MMMM yyyy → 31 December 2024

 



đź’ˇ Summary:

ChiliDocs® lets you format dates and times flexibly – whether in European, US, or fully custom formats.