This article describes how you can insert the current date into a DocumentsCorePack (DCP) template and conduct date calculations with the DateTime function.
1) Insert the Datetime Function as an advanced string
The DateTime Function must be inserted as Advanced String.
Do not use the DateTime field option if you just want to insert the current date. This option is to insert DateTime fields so that you can do some calculations with the CRM date fields. Have a look at the correct syntax here.
2) Format Options for the Datetime function
A full list of all available date format options can be found in this article.
Please note: When using the DateTime function, the System Time of DCP will be used.
- With the ❶ Culture Setting: the Base Language of the set Culture will be used.
- Without Culture Setting: the Base Language Settings of the Service User will be used.
That´s it! We appreciate your feedback. Please share your thoughts by sending an email to email@example.com.