Public Function LastDayOfPeriod( _ ByVal vDate As Variant _ , ByVal vPeriod As Variant _ ) As Variant
LastDayOfPeriod(#1/15/99#, 1) = #12/31/99# LastDayOfPeriod(#1/15/99#, 2) = #6/30/99# LastDayOfPeriod(#1/15/99#, 4) = #3/31/99# LastDayOfPeriod(#1/15/99#, 6) = #2/28/99# LastDayOfPeriod(#1/15/99#, 12) = #1/31/99#See also:
FirstDayOfPeriod Function LastDayOfMonth Function LastWeekdayOfMonth Function LastDayOfWeek Function NextCouponDate FunctionvDate: The date used to determine the period. Function returns Null if vDate is Null or cannot be fixed up to a Date.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.