Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>eom()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EOM()

Syntax:     EOM([<expD>])

Arguments:  <expD> denotes the date to calculate the last day of the
            month containing this date.

Returns:    A date value.
            The return value is the date of the last day of the month
            containing the <expD> date.

Usage:      EOM() can be used to determine the last day of the month
            which contains the <expD> date.  It is then possible to
            calculate the number of days remaining until the end of the
            month.

Notes:      The function will default to the system date if no date
            argument is passed.  A zero date will return a zero date.
            Unlike LASTDAYOM(), EOM() does not return a numerical
            value (the number of days in the month), but returns a
            date.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * The remaining days in the current month.
            ? EOM() - DATE()



See Also: BOM() BOQ() BOY() EOQ() EOY() LASTDAYOM()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson