Calculate months by days