6/20/2023 0 Comments Convert ms to serial date numberQDateTime can describe datetimes with respect to local time, to UTC, to a specified offset from UTC or to a specified time zone, in conjunction with the QTimeZone class. It provides functions for comparing datetimes and for manipulating a datetime by adding a number of seconds, days, months, or years. It can read the current datetime from the system clock. It combines features of the QDate and QTime classes. Operator>=(const QDateTime & other) constĪ QDateTime object encodes a calendar date and a clock time (a "datetime"). Operator!=(const QDateTime & other) const ToTimeZone(const QTimeZone & timeZone) const ToString(QStringView format, QCalendar cal) const ToString(const QString & format, QCalendar cal) const ToString(Qt::DateFormat format = Qt::TextDate) const QDateTime(const QDate & date, const QTime & time, Qt::TimeSpec spec = Qt::LocalTime) QDateTime(const QDate & date, const QTime & time, Qt::TimeSpec spec, int offsetSeconds) QDateTime(const QDate & date, const QTime & time, const QTimeZone & timeZone)
0 Comments
Leave a Reply. |