dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleTimeStamp Structure / GetYearsBetween Method
The OracleTimeStamp value being subtracted.

In This Topic
    GetYearsBetween Method
    In This Topic
    Subtracts the specified OracleTimeStamp value from the current instance and returns an OracleIntervalYM that represents the time difference between the specified OracleTimeStamp structure and the current instance.
    Syntax
    'Declaration
     
    Public Function GetYearsBetween( _
       ByVal value As OracleTimeStamp _
    ) As OracleIntervalYM
    public OracleIntervalYM GetYearsBetween( 
       OracleTimeStamp value
    )

    Parameters

    value
    The OracleTimeStamp value being subtracted.

    Return Value

    An OracleIntervalYM representing the interval between two OracleTimeStamp values.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also