Allows the comparison of two date point objects. This uses the same comparison logic as Family Historian Queries do.
iResult = dp:Compare(dpCompareDatePt)
dpBirthDate = fhNewDatePt(2010) dpDeathDate = fhNewDatePt(1910) iresult = dpBirthDate:Compare(dpDeathDate) if iresult > 0 then fhMessageBox('Birth Date after Death Date') end