ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / DateAndTime Class / Year Method
Required. Date value from which you want to extract the year.

In This Topic
    Year Method
    In This Topic
    Returns an Integer value from 1 through 9999 representing the year.
    Syntax
    'Declaration
     
    Public Shared Function Year( _
       ByVal dateValue As Date _
    ) As Integer
    public static int Year( 
       DateTime dateValue
    )

    Parameters

    dateValue
    Required. Date value from which you want to extract the year.

    Return Value

    Returns an Integer value from 1 through 9999 representing the year.
    See Also