FMLA for US?

Hello! So I have been with my company for 5 months and they offer 6 weeks of maternity leave. If I apply for FMLA at my year mark and I am 6+ months pregnant will I get it? I wasn’t sure if you only get it if you get pregnant after your year mark or what?