90 day rule for hbp withdrawal

How do I determine whether I need to include an amount for the 89 days prior to withdrawal of an amount for the HBP? I did make contributions during that time, but I also had well over the amount I withdrew prior to that 89 day period.  Does it still apply?