Date :: month - Get number of month
The month property is the month value for the current date (mm of yyyymmdd).
Return value: Month ( int32 )
Month of the year. The value should range between 1 and 12.
Implementation overview
- Get number of month
Date :: month (  ) - Set month in date
Date :: month ( iMonth )
Implementation details
- to list
-
Set month in date
int32 Date  :: month ( int32 iMonth )
The function changes the month value in the current date to iMonth. The function does not check the month value, except that the value is greater than 0. When the month value less than 0, the function throws an exception. When the month value is greater than 12, it will be adjusted and the year number will increase.
- iMonth
- Month
Month of the year. The value should range between 1 and 12.
to list
- iMonth
- Month