Function CSPDate::operator -()

Description:
Subtracts a number of days from the object's date, returning a resulting date object.

Prototype:
CSPDate operator -(long lDays) const;

Arguments:
  • long lDays [IN]
    The number of days to subtract.



Return value:
It returns the resulting date object.

Examples:
CSPDate LastWeekDate = CSPDate::GetCurDate() - 7;

See also:
member functions operator + ( long lDays ), operator - ( const CSPDate& ), operator ++ (), operator -- (), operator += (), operator -= (),
operator = ()
CSPDate | Basic classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd