SAP Knowledge Base Article - Public

3232519 - How to Subtract Days from Date in CPQ?

Symptom

This KBA explains how to use a tag that will subtract days from Date in CPQ.

Environment

SAP SALES CLOUD CPQ

Resolution

We need to construct a CTX tag for adding the number of days.

Here in the below example, we're adding 10 days to the Date created field:

<*CTX( Quote.DateCreated.AddDays(10) )*>.

For subtracting days, just include a minus symbol (-) in front of the number of days, like this:

    <*CTX( Quote.DateCreated.AddDays(-10) )*>

    Keywords

    subtract days, CTX tag, DateCreated, AddDays, minus, date field, cpq , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , How To

    Product

    SAP CPQ all versions