DateControl Xojo Plugin

DesktopDateControl.DateFormat Property

Defines the display format of the date.

DateFormat as DesktopDateControl.DateFormats {Read and Write}

Remarks

If set to one (Automatic) then the date will be displayed in a system defined format depending on how the locale is set on each machine.

Possible values:
DesktopDateControl.DateFormats.Automatic - Automatic (Order and separator is defined by the system)
DesktopDateControl.DateFormats.Month2Day2Year4 - mm.dd.yyyy (Separator is defined by the system)
DesktopDateControl.DateFormats.Day2Month2Year4 - dd.mm.yyyy (Separator is defined by the system)
DesktopDateControl.DateFormats. SQLFormat - SQL format (like: 2006-03-17)
DesktopDateControl.DateFormats.AutomaticForce4LetterYear - Same as the first one except year is forced to 4 letters regardless of what the operating system says.

See Also

DesktopDateControl Control