14.10.8.14 GetYearsBetween
This method subtracts an OracleTimeStampTZ value from the current instance and returns an OracleIntervalYM that represents the time interval.
                  
Declaration
// C#
public OracleIntervalYM GetYearsBetween(OracleTimeStampTZ val);Parameters
- 
                        valThe OracleTimeStampTZvalue being subtracted.
Return Value
An OracleIntervalYM that represents the interval between two OracleTimeStampTZ values.
                  
Remarks
If either the current instance or the parameter has a null value, the returned OracleIntervalYM has a null value.