AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

INT16 MgDateTime::GetYear (  ) 

Gets the year component of this object

.NET Syntax
short GetYear();
Java Syntax
short GetYear();
PHP Syntax
int GetYear();

Returns:
Returns the year component of this object.