- Qt 6.9
- Qt Core
- C++ Classes
- QGregorianCalendar
- Qt 6.9.2 Reference Documentation

# QGregorianCalendar Class

The QGregorianCalendar class implements the Gregorian calendar. More...

Header: | `#include <QGregorianCalendar>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS Core)` `target_link_libraries(mytarget PRIVATE Qt6::Core)`
qmake: | `QT += core`
Inherits: | QRomanCalendar

## Detailed Description

### The Gregorian Calendar

The Gregorian calendar is a refinement of the earlier Julian calendar, itself a late form of the Roman calendar. It is widely used.

See also QRomanCalendar, QJulianCalendar, and QCalendar.