Working with General Visual Components > Classes > DateTimeEdit > DateTimeEdit.getCurrentYear
getCurrentYear();
The getCurrentYear method returns the year value.
The example of method use is given in description of the DateTimeEdit.getCurrentDay method.
See also: