company logo

DateTime :: year - Year property

The year property is the year value for the current date (yyyy of yyyymmdd).

Return value:  Year ( int32  )

Number of the year. The value should no be negative.

Implementation overview

Implementation details

  1. - internal feature (not documented)
    int32 DateTime  :: year (  )
  2. to list
  3. Set year in date
    int32 DateTime  :: year ( int32 iYear )

    The function changes the year value in the current date to iYear. When the year value less than 1870, the function throws an exception.

    • iYear - Year

      Number of the year. The value should no be negative.

  4. to list