Table of Contents

TTMSFNCDataGridData.ValueIsDateTime Method

Returns True when the raw cell value can be interpreted as a date/time using default format settings.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Overloads

Overload 1

Returns True when the raw cell value can be interpreted as a date/time using default format settings.

class function ValueIsDateTime(AValue: TTMSFNCDataGridCellValue): Boolean; overload;

Parameters

Name Description
AValue Cell value to test or convert.

Returns

True when the value matches the tested type; otherwise False.

Overload 2

Returns True when the raw cell value can be interpreted as a date/time using the supplied locale format settings.

class function ValueIsDateTime(AValue: TTMSFNCDataGridCellValue; AFormatSettings: TFormatSettings): Boolean; overload;

Parameters

Name Description
AValue Cell value to test or convert.
AFormatSettings Format settings used for locale-sensitive parsing or formatting.

Returns

True when the value matches the tested type; otherwise False.