![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
================================================ I wrote a function in xTalk that handles this. I had previously written an xTalk function that generates a text calender, so I decided to used it to solve the problem. It was quick and simple. The function first creates a text calendar for the month. The result for June 2003 is show below: June 2003 Sun Mon Tue Wed Thu Fri Sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Then the function counts down the appropriate column to see how many days there are: June, 2003, Monday returns 5 June, 2003, Tuesday returns 4 ================================================ |
#2
| |||
| |||
|
|
I have a Filemaker project that needs a function that determines the number of days (Mondays, Tuesdays, etc.) of a specific month and year. Given the parameters (June, 2003, Monday) it would return the number of Mondays in June 2003. Result: 5 A while back I raised this question in this newsgroup. I received several suggestions for FileMaker 6, show below: But I'd like to use a built-in FileMaker 7 function, if there is one. I'm sure there's a simpler way in Filemaker ... maybe version 7 now has a date or status function for this. But I'm not terribly familiar with Filemaker¹s date format yet. |
#3
| |||
| |||
|
|
I have a Filemaker project that needs a function that determines the number of days (Mondays, Tuesdays, etc.) of a specific month and year. Given the parameters (June, 2003, Monday) it would return the number of Mondays in June 2003. Result: 5 A while back I raised this question in this newsgroup. I received several suggestions for FileMaker 6, show below: But I'd like to use a built-in FileMaker 7 function, if there is one. |
#4
| |||
| |||
|
|
In article <BD1C38C7.31FA3%John (AT) SingingWood (DOT) com>, "John B." John (AT) SingingWood (DOT) com> wrote: I have a Filemaker project that needs a function that determines the number of days (Mondays, Tuesdays, etc.) of a specific month and year. Given the parameters (June, 2003, Monday) it would return the number of Mondays in June 2003. Result: 5 A while back I raised this question in this newsgroup. I received several suggestions for FileMaker 6, show below: But I'd like to use a built-in FileMaker 7 function, if there is one. I'm sure there's a simpler way in Filemaker ... maybe version 7 now has a date or status function for this. But I'm not terribly familiar with Filemaker¹s date format yet. It's pretty doubtful you'd ever get such an obscure function built in to FileMaker Pro or even a plug-in (I don't think even the over-bloated Excel has anything like that), so I'd go with one of the suggested options or a script ... although I didn't read them to see if they'd actually do what you wanted. It's probably possible to use the day the month starts on, the day the month ends on and the number of days in the month to calculate how many of a particular day, but it'd be a pretty complex calculation and probably no easier than the other suggestions. If I get time I'll have a look at working this method out later today. |
#5
| |||
| |||
|
|
I have a Filemaker project that needs a function that determines the number of days (Mondays, Tuesdays, etc.) of a specific month and year. Given the parameters (June, 2003, Monday) it would return the number of Mondays in June 2003. Result: 5 A while back I raised this question in this newsgroup. I received several suggestions for FileMaker 6, show below: But I'd like to use a built-in FileMaker 7 function, if there is one. is Brown <cbrown (AT) medicine (DOT) adelaide.edu.au Chris Brown Neurosurgery University of Adelaide |
![]() |
| Thread Tools | |
| Display Modes | |
| |