DateByNthDOW ( tYear ; tMonth ; tDayOfWeek ; tNum )
Pick Nth day of week in specified year and month.
Average rating: 4.2 (42 votes) Log in to vote
Koji Takeuchi - Show more from this author
TonicNote, Inc. https://tonicnote.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
DateByNthDOW ( tYear ; tMonth ; tDayOfWeek ; tNum )
2011.03.02, Koji Takeuchi
「○年○月の○番目の○曜日」の日付を得る
Pick Nth day of week in specified year and month.
tYear = Year // 2011 or Year ( date_value )
tMonth = Month // 3 or Month ( date_value )
tDayOfWeek = Day of week // "Thursday" or "thu" or "5"
tNum = Number // 1-5
ex:
Pick date value of 2nd Thursday in 2011/03.
DateByNthDOW ( 2011 ; 3 ; "thu" ; 2 ) = date value of "2011/3/10"
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.