[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'EditBtn' (#lcl)

# TDateEdit.DateFormat

Specifies the format string used for the date value in the control.

## Declaration

Source position: editbtn.pas line 651

`published property TDateEdit.DateFormat : string read FFreeDateFormat write SetFreeDateFormat;`

## Description

DateFormat is a String property which contains the format used when converting the Date value to and from text. DateFormat is used when DateOrder contains the value doNone; when another TDateOrder value is used, the fixed format needed for the date order is automatically used.

DateFormat is used in the implementation of the TextToDate and DateToText methods.

## See also

TDateEdit.Date |  | Contains the TDateTime value for the control.
TDateEdit.DateOrder |  | Controls the display order for Year, Month, and Day parts of the Date value.
TDateOrder |  | Controls the display order for Month, Day, and Year portions of a date value.