Baby shower planning

y

How far in advance should you plan a baby shower and also start inviting people??

A friend of mine said a month to invite people. Is that enough time?