单项选择题

How long ______ each other when they got married

A.had they known
B.have they known
C.would they know
D.did they know