How long was bonnie hunt and her husband married?

18 years they were legally married but they had split up a few years before they got a divorce