The Qt documentation in C++ of this class can be read here: http://doc.trolltech.com/4.3/qdateedit.html
A control for the form object for editing dates.
It allows the user to edit dates by using the keyboard or the arrow keys to increase and decrease date values. Dates appear in accordance with the format set.
Most important
Please read the control class overview Control as well.
Property Value As String (ReadWrite)
Format is yyyy-MM-dd, e.g. 2007-12-31
See also SetDateTime, DateTime
Property OldValue As String (ReadOnly)
Property Maximum As String (ReadWrite)
Format is yyyy-MM-dd, e.g. 2007-12-31
Property Minimum As String (ReadWrite)
Format is yyyy-MM-dd, e.g. 2007-12-31
Property Format As String (ReadWrite)
Change the format of the date box for the user. It does not affect the format of Maximum or Minimum or Value.
Date related
d | the day as number without a leading zero (1 to 31) |
dd | the day as number with a leading zero (01 to 31) |
ddd | the abbreviated localized day name (e.g. 'Mon' to 'Sun'). |
dddd | the long localized day name. |
M | the month as number without a leading zero (1-12) |
MM | the month as number with a leading zero (01-12) |
MMM | the abbreviated localized month name (e.g. 'Jan' to 'Dec'). |
MMMM | the long localized month name (e.g. 'January' to 'December'). |
yy | the year as two digit number (00-99) |
yyyy | the year as four digit number |
Time related
h | the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display) |
hh | the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display) |
m | the minute without a leading zero (0 to 59) |
mm | the minute with a leading zero (00 to 59) |
s | the second without a leading zero (0 to 59) |
ss | the second with a leading zero (00 to 59) |
z | the milliseconds without leading zeroes (0 to 999) |
zzz | the milliseconds with leading zeroes (000 to 999) |
AP | use AM/PM display. AP will be replaced by either “AM” or “PM”. |
ap | use am/pm display. ap will be replaced by either “am” or “pm”. |
Property PopUp As Boolean (ReadWrite)
Property Flat As Boolean (ReadWrite)
If it is true, appears as flat control. This is only useful to change the visual appearance.
Sub SetDateTime(DateTime)
Function DateTime() As DateTime
Sub SetDate(DateTime)
Provided for convience.
Function Date() As DateTime
Provided for convience.
Sub OnEvent()