BCGControlBar Pro for MFC
static BOOL CBCGPPlannerView::IsOneDay ( const COleDateTime &  date1,
const COleDateTime &  date2 
)
static

Compares two dates.

Returns
Nonzero if two dates are equal; otherwise 0.

Use this function two compare two COleDateTime objects taking into account only dates.

Parameters
date1Specifies the first date to compare.
date2Specifies the second date to compare.