nn::fnd::DateTime::operator- Friend Function

Syntax

#include <nn/fnd.h>

friend TimeSpan operator-(
     const DateTime & lhs,
     const DateTime & rhs
);

Arguments

Name Description
lhs
rhs

Return Values

Returns the TimeSpan difference.

Description

The - operator between two DateTime classes.

The result of subtraction between two valid DateTime class displayed with values between MIN_DATETIME and MAX_DATETIME fits in the range that can be displayed with TimeSpan.


CONFIDENTIAL