Forum Discussion
- ChristianWValued Contributor
you can access the number of days like this:
BrApi.Finance.Time.GetNumDaysInTimePeriod(si, timeId)
or in a finance business rule or member formula:
api.Time.GetNumDaysInTimePeriod(timeId)
- marisolbrittonNew Contributor III
Thanks Christian! Do you happen to have a sample? Thanks in advance
- ChristianWValued Contributor
Dim timId as Integer = BrApi.Finance.Members.GetMemberId(si, DimTypeId.Id, “2023M1”) Dim numDays = BrApi.Finance.Time.GetNumDaysInTimePeriod(si, timId) Dim timId as Integer = api.Members.GetMemberId(DimTypeId.time, “2023”) Dim numDays as Integer = api.Time.GetNumDaysInTimePeriod(timeId)
Related Content
- 3 years ago
- 9 months ago
- 3 years ago
- 3 years ago