DateTime
Date Difference
6min
this action computes the difference between two datetime values \[year, quarter, month, week, day] inputs & outputs \[ i ] unit of time drop down drop down to choose which unit of time will be used for measuring the difference year quarter month week day \[ i ] first datetime datetime datetime representing the minuend \[ i ] second datetime datetime datetime representing the subtrahend \[ o ] difference integer integer equal to the result of first datetime second datetime in unit of time example usage drag action onto canvas to get familiarized with it declare some variables to be used with the action assign the newly created variables save & run the process and then check instance to see the output use cases computing the date difference between two datetime datetime values tips if second datetime is lesser than first datetime , the difference will be negative to compute time difference, consider using time difference