Partager via


CFileTime::operator -

This operator is used to perform subtraction on a CFileTime or CFileTimeSpan object.

CFileTime operator -( 
   CFileTimeSpan span  
) const throw( ); 
CFileTimeSpan operator -( 
   CFileTime ft  
) const throw( );

Parameters

  • span
    A CFileTimeSpan object.

  • ft
    A CFileTime object.

Return Value

Returns a CFileTime object or a CFileTimeSpan object representing the result of the time difference between the two objects.

Requirements

Header: atltime.h

See Also

Reference

CFileTime Class

CFileTimeSpan Class