COleDateTime と COleDateTimeSpan を使います。
#include <afxdtctl.h> // MFC の Internet Explorer 4 コモン コントロール サポート
int yy1,mm1,dd1;
int yy2,mm2,dd2;
int nNissuu;
COleDateTime tsKjn(yy1,mm1,dd1,0,0,0); // 基準日
// COleDateTime tsKjn = COleDateTime::GetCurrentTime(); // 基準日が今日の場合
COleDateTimeSpan tsNis;
tsNis.SetDateTimeSpan( nNissuu,0,0,0); // 日数
tsKjn-=tsNis;
yy2 = tsKjn.GetYear(); // 答え
mm2 = tsKjn.GetMonth();
dd2 = tsKjn.GetDay();
}