company logo

DateTime :: decade - Get decade number

The decade property provides the number of the current decade, i.e. 1 for days 1-10, 2 for days 11-20 and 3 for all other days.

Return value:  Decade ( int32  )

Decade of the year (AD).

Implementation details

int32 DateTime  :: decade (  )