"yearShown"
Returns the year of the currently displayed month.
Synopsis
shape.yearShown();
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
Description
This function returns the year of the currently displayed month.
Example
The following example displays the currently displayed year in a text field.
main()
{
this.text(Calendar.yearShown());
}
Assignment
Calendar
See also
"monthShown", "setCurrentPage"