Function CSPTime::operator -()

Description:
It subtracts a number of seconds from this object's time, and returns a resulting time object.

Prototype:
CSPTime operator -(long lSeconds) const;

Arguments:
  • long lSeconds [IN]
    The number of seconds to subtract.



Return value:
It returns an object containing the resulting time.

Examples:
CSPTime tLastHour = CSPTime::GetCurTime() - 3600;

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

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd