Date Difference Function

Simran Mehndiratta
Simran Mehndiratta
  • Updated

Function Name:

Date Difference

Purpose:

In attribute and entity pipelines, we compare information stored in Syncari with the information received from another system. Frequently, one of the actions is to compare two dates with one another to find the elapsed time between them.

The Date Difference function helps you keep track of different date attributes, including support for Date Time attributes. Select the attributes you’d like to compare and the date difference unit, and calculate spans like the time from create date to converted date for a lead.

If you want to compare a date attribute to a relative time, you can do that with Relative Time Phrases. For example, to compare against today's current date/time, you can write:

before 0 seconds 

Here are the supported relative time phrases:

  • Before
  • After
  • Last
  • Next

Configuration:

1. Enter a Display label for the node. This will be helpful with identifying the node when viewing your Entity Pipeline.

2. Enter a Description that will explain what the function is configured to do.

3. Enter the format of the incoming date time in Date Difference Unit.

4. From Date is the format of the incoming date time.

5. To Date is the Value to add to the List. 

 

Share this

Was this article helpful?

0 out of 0 found this helpful