Documentation/Calc Functions/MONTHS

From The Document Foundation Wiki
Jump to: navigation, search


Im-jabber.svg

Under construction.
For now, see the system Help files.


Function name:

MONTHS

Category:

Date and Time

Summary:

Calculates the difference in months between two dates.

Syntax:

MONTHS(StartDate; EndDate; Type)

Returns:

Arguments:

StartDate is the first date

EndDate is the second date

Type calculates the type of difference. Possible values include 0 (interval) and 1 (in calendar months).

Additional details:

Examples:

Related LibreOffice functions:

ODF standard:

Equivalent Excel functions: