| 
 
  | 
| 
 Description  | 
 BusDays() counts the number of business days between two dates, inclusive.  | 
| 
 
  | 
 
  | 
| 
 Syntax  | 
 BusDays(date1, date2)  | 
| 
 
  | 
 
  | 
| 
 Parameters  | 
 date1 A date. 
 date2 Another date.  | 
| 
 
  | 
 
  | 
| 
 Return Value  | 
 The number of business days between date1 and date2.  | 
| 
 
  | 
 
  | 
| 
 Examples  | 
 BusinessDaysTillExpire(instrument)=begin BusDays(instrument.date, instrument.expire) end 
 This example returns the number of business days until expiration. Aspen’s .xdays quote extension returns the total number of days to expiration.  | 
| 
 
  | 
 
  | 
| 
 Comments  | 
 BusDays() will return a negative number if the second argument is an earlier date than the first.  |