Spread Windows Forms 13.0 Product Documentation
FarPoint.Win Assembly / FarPoint.Win.SuperEdit Namespace / IRegionalSettings Interface / CurrentYear Property


In This Topic
    CurrentYear Property (IRegionalSettings)
    In This Topic
    Gets or sets the current year if the year is not specified in a date value.
    Syntax
    'Declaration
     
    Property CurrentYear As Integer
    'Usage
     
    Dim instance As IRegionalSettings
    Dim value As Integer
     
    instance.CurrentYear = value
     
    value = instance.CurrentYear
    int CurrentYear {get; set;}

    Property Value

    Integer year number
    Remarks

    Specify a year value using this property to provide a year value for date values that do not include years.

    To specify how date values calculate centuries when year values are provided as two-digit years, set the TwoDigitYearMax property.

    See Also