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

SignatureDescription
DateTime()Calls DateTime on this DateTime instance.
GetTicks() → std::int64_tReturns the ticks.
GetYear() → intReturns the year.
GetMonth() → intReturns the month.
GetDay() → intReturns the day.
GetHour() → intReturns the hour.
GetMinute() → intReturns the minute.
GetSecond() → intReturns the second.
Equals(other: DateTime) → boolCalls Equals(other) on this DateTime instance.

See Also

 English