DateTime
Overview
DateTime is a class in Aspose.Cells FOSS for C++.
DateTime provides component accessors such as GetYear(), GetMonth(), GetDay(), GetHour(), GetMinute(), and GetSecond() to retrieve individual parts of a date‑time value.
This class declares 9 methods for DateTime objects in C++ programs.
Available methods include: DateTime, Equals, GetDay, GetHour, GetMinute, GetMonth, GetSecond, GetTicks, GetYear.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
DateTime() | Calls DateTime on this DateTime instance. |
GetTicks() → std::int64_t | Returns the ticks. |
GetYear() → int | Returns the year. |
GetMonth() → int | Returns the month. |
GetDay() → int | Returns the day. |
GetHour() → int | Returns the hour. |
GetMinute() → int | Returns the minute. |
GetSecond() → int | Returns the second. |
Equals(other: DateTime) → bool | Calls Equals(other) on this DateTime instance. |