Function CSPDate::operator -() Description: Retrieves the difference, in days, between two dates.
| Prototype: long operator -(const CSPDate& dDate) const; Arguments: const CSPDate& dDate [IN] The date from which to calculate the difference. Return value: It returns the difference in days. Examples: CSPDate dOrder; CSPDate dDelivery; ... long lDelay = dDelivery - dOrder; See also: member functions operator + (), operator - ( long lDays ), operator ++ (), operator -- (), operator += (), operator -= (), operator = ()
CSPDate | Basic classes | Class Categories | Online help home | Back
www.micronovae.com Copyright © 2002 - 2004 Micronovae Ltd