[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 EOM()
 Determines the date for the last day of a month
------------------------------------------------------------------------------
 Syntax

     EOM([<dDate>]) --> dEndOfMonth

 Argument

     <dDate>  Designates the date for which the last day of the month it
     lies in, is calulated.  The default is the system date.

 Returns

     EOM() returns the date of the last day of the month in <dDate>.

 Description

     EOM() determines the last day of the month in which <dDate> lies.  It
     also allows you to calculate how many days remain until the end of the
     month.

 Notes

     .  If no date is specified, the function automatically uses the
        system date.  An empty date parameter will always return an empty
        date.

     .  Unlike LASTDAYOM(), EOM() does not return a numeric value (the
        number of days in the month), but another date.

 Example

     Display the remaining days in the current month:

     ? EOM() - DATE()


See Also: BOM() BOQ() EOQ() BOY() EOY() LASTDAYOM()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson