
MONTHS FROM Function
The MONTHS FROM function returns the number of months between two date values.
| Function name |
MONTHS FROM |
| Usage model | MONTHS FROM (⟦start:DATE⟧, ⟦finish:DATE⟧) |
| Parameters | This function requires you to replace two parameters: |
|
start: DATE |
The function determines the number of months between this date and the finishing date. |
|
finish: DATE |
The function determines the number of months between this date and the starting date. |
| Result | A number value. |
Example
The following example uses the MONTHS FROM and TODAY functions to find the number of months between the judgment date and today's date:
MONTHS FROM( JudgmentDate, TODAY )