SMART datagrid v.1 > Classes > DataField

Back  Forward

DataLudi.DataField.pmText  property

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

You can specify the string of indicating "A.M." by amText. Please refer to datetimeFormat help about conversion format. 

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

Defaults to null.

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