If you want the actual Week of the Month
[tt]
*/***************************************************************************
*/Program : function WOM (Week Of Month)
*/System :
*/Purpose : Return the week of the month the date is
*/Syntax : Week = wom(date())
*/Returns : integer - week - the number of the week the date is located in
*/Parameter : date - date - the date to be evaluated
*/Defaults : date = date()
*/Requires : nothing
*/Changes : nothing
*/Calls : nothing
*/Version : 1.0
*/Dated : 06/01/93
*/Written By: David W. Grewe
*/Assumption: A new week starts with a Monday
*/***************************************************************************
*& Date Function
*/***************************************************************************
*/ Record Of Change
*/
*/***************************************************************************
parameters pdDate
if parameters() < 1 .or. type("pdDate"

# "D"
pdDate = date()
endif
lnStart = pdDate - day(pdDate)+1
lnWom = 1
do while lnStart <= pdDate
if dow(lnStart) = 2
lnWom = lnWom + 1
lnStart = lnStart + 7
else
lnStart = lnStart + (9 - dow(lnStart))
endif
enddo
return lnWom
[/tt]
[sig]<p>David W. Grewe<br><a href=mailto

ave@internationalbid.net>Dave@internationalbid.net</a><br>[/sig]