Created by: BolajiOlajide
Ensured date calculation towards the end of the month doesn't fail by adding an offset when calculating month duration.