Date Difference
6 min
this action computes the difference between two datetime values \[year, quarter, month, week, day] inputs & outputs \[ i ] unit of time \<font color="#00ced1">drop down\</font> to choose which unit of time will be used for measuring the difference year quarter month week day \[ i ] first datetime \<font color="#ff9307">datetime\</font> representing the minuend \[ i ] second datetime \<font color="#ff9307">datetime\</font> representing the subtrahend \[ o ] difference \<font color="#1c417e">integer \</font> 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 \<font color="#ff9307">datetime\</font> values tips if second datetime is lesser than first datetime , the difference will be negative to compute time difference, consider using time difference https //docs procesio com/how to/time difference
