SMART datagrid v.1 > Classes > DataField

Back  Forward

DataLudi.DataField.amText  property

It is used as the string of indicating "A.M." when loading CSV text to data set and converting the string value to Date object in DATETIME field. 

You can specify the string which indicates "P.M." by pmText. Please refer to datetimeFormat help about the conversion format. 

If do not specify this value, "AM" will be used. 

Defaults to null.

Getter
function amText(): String
Setter
function setAmText(value: String)
Code -1
    var field = dataSet.getFieldIndexEx('dateField');
    field.setAmText("A.M.");
See Also
datetimeFormat
pmText
baseYear
ValueType
Data Field Overview
Examples
Datetime Value