"monthShown";
Returns the currently displayed month. Months are numbered from 1 to 12.
Synopsis
shape.monthShown();
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
Description
This function returns the currently displayed month. Months are numbered from 1 to 12.
Example
The following example displays the currently displayed month in a text field.
main()
{
this.text(Calendar.monthShown());
}
Assignment
Calendar