COleDateTime::GetYear

This method retrieves the year portion of the date this COleDateTime object represents.

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

int GetYear( ) const;

See Also

COleDateTime::COleDateTime, COleDateTime::GetStatus, COleDateTime::SetDateTime, COleDateTime::operator =