Spread Formula Reference
Formula Functions / Functions D to G / EDATE
In This Topic
    EDATE
    In This Topic

    This function calculates the date that is the indicated number of months before or after a specified date.

    Syntax

    EDATE(startdate,months)

    Arguments

    This function has these arguments:

    Argument Description
    startdate Starting date
    months Number of months before (negative) or after (positive) the starting date; if not an integer, the number is truncated.

    Remarks

    Use this function to calculate maturity dates or due dates that fall on the same day of the month as the date of issue.

    Data Types

    Accepts numeric, string, or DateTime object data for the startdate argument and numeric data for the months argument. Returns a numeric value (an excel serial number as new date).

    Examples

    EDATE(A1,-6)

    EDATE(R1C1,4)

    EDATE("2004/01/09",2) gives the result 38055

    Version Available

    This function is available in product version 1.0 or later.

    Note: If a user uses LegacyBehaviors.CalculationEngine, EDATE function will return the DateTime object instead of the serial numeric value. For more details, please refer to breaking changes for legacy behaviors.

    See Also

    DATE | EOMONTH | Date and Time Functions