Refrigerated EBM

Kailyn
How long is expressed breast milk good for if just refrigerated?? 
And how long is it good for if frozen??