Allows the comparison of two dates. This uses the same comparison logic as Family Historian Queries do. It is used for list sorting, and it will sort "March 1991" before 5th March 1991.
iResult = dt:Compare(dtCompareDate)
dtBirthDate = fhNewDate(2010) dtDeathDate = fhNewDate(1910) iresult = dtBirthDate:Compare(dtDeathDate) if iresult > 0 then fhMessageBox('Birth Date after Death Date') end