Forum Discussion

DonLarson's avatar
DonLarson
Qrew Elite
2 years ago

Strings and Integers in a Pipeline Date Calculations

I am trying to formulaically change a date with a Pipeline If I hard code the change in the date it will work with the following expression {{a.date +time.delta(days=2)}} However if I use a v...
  • DougHenning1's avatar
    2 years ago
    Hi Don, you need to specify the field without the quotes:

    {{a.date +time.delta(days=a.numeric_field)}}

    If a.date is a string and not a date, then you need to parse it:

    {{time.parse(a.date) +time.delta(days=a.numeric_field)}}

    Hope that helps!

    ------------------------------
    Doug Henning
    ------------------------------