With Brendan and Logan, they were born at 32 weeks and I definitely wasn't educated on breastfeeding. I pumped for them for a little over a month and was able to give them pumped breastmilk for about 2 months. Then we switched to formula.
Dylan was born at 28 weeks, but I was determined to breastfeed him after educating myself. He's now 10 months and 1 week and we're still breastfeeding : )