### Title

Calculating number of days in the "Selected period" between two dates?

### Post

Hello everyone,

Does anyone knows how to calculate **number of days** in the **"Selected period"** between two dates?

I'm trying to create Monthly payments calculation by number of days in a "Selected period".

Our students live in accommodation and pay by nights. The dates could be like: From **15/01/2015** To **20/03/2015**. We need to split these dates by number of days in each month period to get Monthly payments?

Hi,

In "Monthly Payment" Field must be summary of payments by each month.

How could it be done?