AutoCAD Map 3D 2009 Geospatial Platform Reference From AutoCAD Map 3D Geospatial Platform API previous page next page Overview Modules Classes MgDateTime GetDay GetHour GetMicrosecond GetMinute GetMonth GetSecond GetYear IsDate IsDateTime IsTime MgDateTime MgDateTime MgDateTime MgDateTime SetDay SetHour SetMicrosecond SetMinute SetMonth SetSecond SetYear Validate 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. previous page start next page