COleDateTime::SetDateTime

Call this member function to set the value of this COleDateTime object to the specified date/time value.

Syntax

int SetDateTime( int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec );

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::SetDate, COleDateTime::SetTime, COleDateTime::operator =, COleDateTime::m_dt