DatePeriod ( Input ; Type )
DatePeriod week, month, quarter, year
Be the first to rate this function Log in to vote
Benjamin Fehr - Show more from this author
EfficientBizz GmbH http://www.efficientbizz.com |
DatePeriod ( "24.9.2019" ; "MM" )
30.09.2019
3
2019
01.09.2019
30.09.2019
9
2019
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Input = Date
Type = WW (Week), MM (Month), QQ (Quarter), YY (Year)
Resultat = Date Begin of selected period & ¶ &
Date End of selected period & ¶ &
Number of WeekOfYear (WW), MonthOfYear (YY), Quarter (QQ), '-' (YY) & ¶ &
Year
Date are in European format as DD.MM.YYYY
Week starts Monday and ends Sunday
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.