[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DOW()

    DOW() converts a date value to a number identifying the day of the
    week.

Syntax

    DOW(<exp D>)

Returns

    An integer numeric value.

    DOW() returns a number between zero and seven.  The first day of the
    week is one (Sunday) and the last is seven (Saturday).  If <expD> is
    empty, DOW() returns zero.

Usage

    DOW() is useful when you want date calculations on a weekly basis.  For
    example, you can use the DOW() to calculate last Monday's date with an
    expression like the following:

    DATE() - DOW(DATE()) + 2

See Also: MONTH DAY YEAR CTOD DTOC DTOS DATE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson