[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             GOMONTH             |
+---------------------------------+
GOMONTH(<expD>, <expN>)

-----------------------------------
Returns date that is a specified number of months before or after given
date.
Return value - Date
-----------------------------------

GOMONTH() returns the date which is a specified number of months after
or before a given date.

<expD>
        The date expression <expD> is the initial date.

<expN>
        The number of months from the date expression <expD> you include is
specified by <expN>.  If <expN> is positive, the date returned by
GOMONTH() is <expN> months after <expD>.  If <expN> is negative, the
date returned is <expN> months before <expD>.

+---------------------------------+
|             Examples            |
+---------------------------------+
SET CENTURY ON
STORE GOMONTH({08/02/91}, 5) TO deadline

? deadline

? GOMONTH({12/31/91}, 2)

? GOMONTH({12/31/91}, -2)

-----------------------------------

See Also:  CMONTH()

-----------------------------------

See Also: CMONTH()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson