How to Add Days to Client Data table date field | Community
Skip to main content
Level 2
Dec 2, 2020 2:00 PM UTC
Solved

How to Add Days to Client Data table date field

I want to update data for a client table where the dates are out of sync with our official records. We are processing batches where we want to add days to the date in the client data table.

 

I have been working with the 'Fields to Update' Source/Destination expression, but have been unable to successfully use the AddDays expression to the Client Data table date.

 

The expression works when pulling in Today's date (AddDays(GetDate(),35) but I am unsure of how to target the Client Data date field in place of the 'GetDate()' function.

 

In this case, my table is called @cusJourneyMembers.

Ultimately I am trying to target the Client Data Table date field: AddDays(insertClientDataTableDateField,35)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
keertij82676895
keertij82676895Accepted solution
Level 2
Dec 3, 2020 5:39 PM UTC
You have to first Load the client data using Load Activity-->Reconcile using Econcilation and then try to update data

4 replies

Sukrity_Wadhwa
Employee
Dec 14, 2020 3:25 PM UTC

Hi @nickwa7,

Were you able to resolve this query with either of the provided solutions or do you still need more help here? Do let us know.

Thanks!

Translate
Sukrity Wadhwa
_Manoj_Kumar_
New Participant
Dec 2, 2020 3:02 PM UTC

Hello @nickwa7 ,

 

AddDays will only work when the data type of the columns is date-time. You will have to first convert the data type to date-time to make it work.

 

Thanks,

Manoj

Translate
     Manoj     Find me on LinkedIn
NickWa7Author
Level 2
Dec 2, 2020 3:05 PM UTC
Thanks for your response, Manoj. This field is a date-time field, but it doesn't appear I can target the Client Data Table in the "Update Data" expression editor.
Translate