HB_IsDateTime()
Tests if the value returned by an expression is a DateTime value
Syntax
HB_IsDateTime( <expression> ) --> lIsDateTime
Arguments
<expression> an expression of any data type
Return
.T. (true) if the value returned by <expression> is a DateTime value, otherwise .F. (false) is returned.
Description
HB_IsDateTime() is used to test if a variable contains a DateTime value or if the result of an expression is a DateTime value. The function is the only way to distinguish a DateTime value from a Date value, since Valtype(<expression>) yields “D” for both, Date and DateTime.
Seealso
HB_IsArray(), HB_IsBlock(), HB_IsByRef(), HB_IsDate(), HB_IsHash(), HB_IsLogical(), HB_IsMemo(), HB_IsNIL(), HB_IsNull(), HB_IsNumeric(), HB_IsObject(), HB_IsPointer(), HB_IsString(), Type(), Valtype()