BusDaysLeftInYear

See Also...

Related Topics

 

 

 

Description

 

 

 

Formula

BusDaysLeftInYear(instrument)=begin

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

   retval = BusDays(date, LastOfMonth(date))

   i = cMo + 1

   while i < 13 do begin

      dt = AddMonths(date, i - cMo)

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

      i = i + 1

   end

   retval

end

 

 

Parameters

 

 

 

Return Value

 

 

 

Examples

 

 

 

Comments

 

 

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