This function returns the vector ( $year2 - $year1, $month2 - $month1, $day2 - $day1 ) An error occurs if any of the two dates is invalid.