MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML Basic Type: date

To create a date value, specify it as a "YYYY-MM-DD" string:

Example:

 MyDatePicker { minDate: "2000-01-01"; maxDate: "2020-12-31" }

To read a date value returned from a C++ extension class, use Qt.formatDate() and Qt.formatDateTime().

See also QML Basic Types.