- Qt 6.8
- Qt Core
- C++ Classes
- QDateTime
- Qt 6.8.3 Reference Documentation

# List of All Members for QDateTime

This is the complete list of members for QDateTime, including inherited members.

- enum class TransitionResolution
- enum class YearRange
- QDateTime()
- QDateTime(QDate, QTime, Qt::TimeSpec, int)
- QDateTime(QDate, QTime, const QTimeZone &, QDateTime::TransitionResolution)
- QDateTime(QDate, QTime, QDateTime::TransitionResolution)
- QDateTime(const QDateTime &)
- QDateTime(QDateTime &&)
- ~QDateTime()
- addDays(qint64) const : QDateTime
- addDuration(std::chrono::milliseconds) const : QDateTime
- addMSecs(qint64) const : QDateTime
- addMonths(int) const : QDateTime
- addSecs(qint64) const : QDateTime
- addYears(int) const : QDateTime
- currentDateTime(const QTimeZone &) : QDateTime
- currentDateTime() : QDateTime
- currentDateTimeUtc() : QDateTime
- currentMSecsSinceEpoch() : qint64
- currentSecsSinceEpoch() : qint64
- date() const : QDate
- daysTo(const QDateTime &) const : qint64
- fromCFDate(CFDateRef) : QDateTime
- fromMSecsSinceEpoch(qint64, const QTimeZone &) : QDateTime
- fromMSecsSinceEpoch(qint64) : QDateTime
- fromMSecsSinceEpoch(qint64, Qt::TimeSpec, int) : QDateTime
- fromNSDate(const NSDate *) : QDateTime
- fromSecsSinceEpoch(qint64, const QTimeZone &) : QDateTime
- fromSecsSinceEpoch(qint64) : QDateTime
- fromSecsSinceEpoch(qint64, Qt::TimeSpec, int) : QDateTime
- fromStdLocalTime(const std::chrono::local_time<std::chrono::milliseconds> &) : QDateTime
- fromStdTimePoint(const std::chrono::local_time<std::chrono::milliseconds> &) : QDateTime
- fromStdTimePoint(const std::chrono::time_point<Clock, Duration> &) : QDateTime
- fromStdTimePoint(std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds>) : QDateTime
- fromStdZonedTime(const int &) : QDateTime
- fromString(const QString &, Qt::DateFormat) : QDateTime
- fromString(const QString &, const QString &, int, QCalendar) : QDateTime
- fromString(QStringView, Qt::DateFormat) : QDateTime
- fromString(QStringView, QStringView, QCalendar) : QDateTime
- fromString(QStringView, QStringView, int) : QDateTime
- fromString(const QString &, QStringView, QCalendar) : QDateTime
- fromString(const QString &, QStringView, int) : QDateTime

- fromString(const QString &, const QString &, QCalendar) : QDateTime
- fromString(const QString &, const QString &, int) : QDateTime
- fromString(QStringView, QStringView, int, QCalendar) : QDateTime
- fromString(const QString &, QStringView, int, QCalendar) : QDateTime
- isDaylightTime() const : bool
- isNull() const : bool
- isValid() const : bool
- msecsTo(const QDateTime &) const : qint64
- offsetFromUtc() const : int
- secsTo(const QDateTime &) const : qint64
- setDate(QDate, QDateTime::TransitionResolution)
- setMSecsSinceEpoch(qint64)
- setOffsetFromUtc(int)
- setSecsSinceEpoch(qint64)
- setTime(QTime, QDateTime::TransitionResolution)
- setTimeSpec(Qt::TimeSpec)
- setTimeZone(const QTimeZone &, QDateTime::TransitionResolution)
- swap(QDateTime &)
- time() const : QTime
- timeRepresentation() const : QTimeZone
- timeSpec() const : Qt::TimeSpec
- timeZone() const : QTimeZone
- timeZoneAbbreviation() const : QString
- toCFDate() const : CFDateRef
- toLocalTime() const : QDateTime
- toMSecsSinceEpoch() const : qint64
- toNSDate() const : NSDate *
- toOffsetFromUtc(int) const : QDateTime
- toSecsSinceEpoch() const : qint64
- toStdSysMilliseconds() const : std::chrono::sys_time<std::chrono::milliseconds>
- toStdSysSeconds() const : std::chrono::sys_seconds
- toString(QStringView, QCalendar) const : QString
- toString(const QString &, QCalendar) const : QString
- toString(QStringView) const : QString
- toString(Qt::DateFormat) const : QString
- toString(const QString &) const : QString
- toTimeSpec(Qt::TimeSpec) const : QDateTime
- toTimeZone(const QTimeZone &) const : QDateTime
- toUTC() const : QDateTime
- operator+=(std::chrono::milliseconds) : QDateTime &
- operator-=(std::chrono::milliseconds) : QDateTime &
- operator=(const QDateTime &) : QDateTime &