Compute duration
The Compute duration step allows to compute the duration (in days, hours, minutes or seconds) between 2 dates in a new column.
Step parameters
New column name
(string*): the new column to be created for the computation resultStart date column
column(string)*: the starting dateEnd date column
column(string)*: the ending dateDuration in
(integer)*: the duration units (days, hours, minutes or seconds)
Example
Input

Configuration
{
"new_column_name": "compute_duration",
"start_date_col": "start_date",
"end_date_col": "end_date",
"duration_in": "days",
}
Output

Last updated
Was this helpful?