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>bom()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BOM()

Syntax:     BOM([<expD>])

Arguments:  <expD> is the date to determine the first day of the month
            containing this date.

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

Usage:      BOM() can be used to determine the first day of the month
            which contains the <expD> date.  It is then possible to
            calculate the number of days that have elapsed since the
            start of the month.

Notes:      The function will default to the system date if no argument is
            passed.  A null date will simply return a null date.

Library:    CT1.LIB


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

Examples:   * Days elapsed in the current month.
            ? DATE() - BOM()



See Also: BOQ() BOY() EOM() EOQ() EOY()

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