CT_WOM

 

 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!"


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.