### Title

Calculate months from date

### Post

Could You please help me with this one:

In my database I have a field - „date of operation” for each record. And would l like to have a calculation in a new field - months from operation - so it will calculate how many months have passed till today

Thank You for help

( Get ( CurrentDate ) - Date of Operation ) / 30

Date fields are really special number fields that store the number of days from 12/31/0000 to the date shown in that field. Thus, they can be used in many calculations just as though they are number fields.

Also, this calculation will not update correctly in a field definition unless the field is a calculation field with "unstored" specified in Storage options.