In any case, adding the result of this function to the first date/time value ($year1,$month1,$day1, $hour1,$min1,$sec1) always gives the second date/time value ($year2,$month2,$day2, $hour2,$min2,$sec2) again, and adding the negative result (all elements of the result vector negated) to the second date/time value gives the first date/time value.