[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WOM()
 Returns the week within a month.
------------------------------------------------------------------------------
 Syntax

     WOM([<dDate>]) --> nWeekOfMonth

 Argument

     <dDate>  Designates a date for which you want to determine which
     week of the month it lies in.  The default is the system date.

 Returns

     WOM() returns the number that reflects the week within a month in which
     <dDate>lies.

 Description

     The WOM() function can returns the corresponding week of the month for
     every valid date.

 Note

     .  When no date is specified, WOM() uses the system date.  An
        empty date returns a result of 0.

 Example

     Compute a delivery date:

     ? "We will deliver in week" + STR(WOM(dDate)) + " in; August!"


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson