DOC: Add how to calculate month-start to cookbook

Related: #7449
Merge pull request #7455 from shoyer/month-start-cookbook

DOC: Add how to calculate month-start to cookbook