Dating a pregnancy with irregular periods