COleDateTime::GetYear

Call this member function to retrieve the year portion of the date this COleDateTime object represents.

Syntax

int GetYear( ) const;

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleDateTime Overview, COleDateTime Member Functions, Automation Types, COleDateTime::COleDateTime, COleDateTime::GetStatus, COleDateTime::SetDateTime, COleDateTime::operator =