Determination of holding periods
For purposes of this paragraph, in determining the period for which the taxpayer has held any share of stock—
(i)#
the rules of paragraphs (3) and (4) of section 246(c) shall apply, and
(ii)#
there shall not be taken into account any day which is more than 6 months after the date on which such share becomes ex-dividend.