BusDaysLeftInMonth

See Also...

Related Topics

 

 

 

Description

 

 

 

Formula

BusDaysLeftInMonth(instrument, thisMonth)=begin

   cMo = vchart(instrument.month[-1])

 

   if thisMonth == cMo then begin

      retval = BusDays(date, LastOfMonth(date))

   end

   if thisMonth < cMo then begin

      retval = 0

   end

   if thisMonth > cMo then begin

      dt = AddMonths(date, thisMonth - cMo)

      retval = BusDays(FirstOfMonth(dt),LastOfMonth(dt))

   end

   retval

end

 

 

Parameters

 

 

 

Return Value

 

 

 

Examples

 

 

 

Comments

 

 

©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.