Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxIsNumberOrDateTime(Variant) Method

Identifies if the specified Variant value is a number or date/time.

#Declaration

Delphi
function dxIsNumberOrDateTime(const AValue: Variant): Boolean;

#Parameters

Name Type
AValue Variant

#Returns

Type
Boolean

#Remarks

This function returns True if the Variant value, passed as the AValue parameter, represents an Integer, Float, or TDateTime value stored in a cell. Otherwise, the dxIsNumberOrDateTime function returns False.

Unlike the dxIsNumericOrDateTime function, this function returns False if the Variant value has a Boolean type.

See Also