Aspose::Cells::Date::operator- method
Date::operator-(const Duration&) const method
Subtracts a time interval from the current Date.
Date Aspose::Cells::Date::operator-(const Duration &ts) const
| Parameter | Type | Description |
|---|---|---|
| ts | const Duration& | The Duration to subtract. |
ReturnValue
A new Date with the applied offset.
See Also
- Class Vector
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Date::operator-(const Date&) const method
Computes the difference between two Date instances.
Duration Aspose::Cells::Date::operator-(const Date &other) const
| Parameter | Type | Description |
|---|---|---|
| other | const Date& | The other Date. |
ReturnValue
A Duration representing the interval between the two dates.
See Also
- Class Vector
- Namespace Aspose::Cells
- Library Aspose.Cells for C++