DIFF_TIME_PERIOD_UDF
Definition
Calculates the difference between two dates depending on the time parameter.
Parameters
TIME
STRING
The time to be used in the anchor.
PERIOD
VARCHAR
The period column that is used in the expand on.
Returns
A number that represents the difference between two dates.
Usage example
Input:
Output:
Last updated