NTHWEEKDAY Name
NTHWEEKDAY Purpose
Julian Day of N'th weekday of month (like 2nd tues).'
Category
Calling Sequence
jd = nthweekday(yr,mn,wd,n) Inputs
yr = year number (like 1991). in
mn = month number (like 12). in
wd = weekday number. in
Sun=1, Mon=2, ... Sat=7.
n = occurance number. in
1st=1, 2nd=2, ...
Keyword Parameters
Keywords
/LAST means last occurance. If n is given
it may be < 0 to offset from last like:
next to last monday, n=-1, wd=2, /LAST.
If /LAST is used and n > 0 then dates beyond
the end of the month will be found. Ex:
n=1, wd=2, /LAST gives the next monday after
the last monday in the month. Outputs
jd = Julian Day of desired date. out
Common Blocks
Notes
Modification History
R. Sterner, 31 Jan, 1991
Copyright (C) 1991, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.