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

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




    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.


    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).




    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.

    See Also

    DATE | EOMONTH | Date and Time Functions