Sign in Join
FPDoc Onlineexperiment

TDateEdit.GetDateFormat function

Member of TDateEditpublicIn unit EditBtn

Gets the FormatDateTime-compatible format specification used for the current DateOrder in the control.

Declaration

pascal
function GetDateFormat: string

Function result

String with the fixed date format for the DateOrder in the control.

Description

GetDateFormat reads the member value assigned when the SetDateMask method is called. It contains the FormatDateTime-compatible format specification used to convert values in Text and Date when DateOrder has a value other than doNone.

GetDateFormat is not used in the current LCL version.

Use the DateFormat property for the format used when DateOrder is set to doNone.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.