FormDateFieldGetFormat

Description

Gets the date format used for displaying the date in the date form field.

Applies to

RichTextEdit control

Syntax

rtename.FormDateFieldGetFormat(integer fieldID)

Argument

Description

fieldID

The unique ID assigned to the date field.


Return value

String.

Returns the date format for the field if it succeeds and returns null if it fails.

Examples

This example gets the date format of the specified date form field.

integer li_formid
string ls_rtn

li_formid = rte_1.FormDateFieldInsert(2023-07-13,false,"yyyy-MM-dd")
ls_rtn = rte_1.FormDateFieldGetFormat(li_formid)