HB_IsDate

HB_IsDate()

Tests if the value returned by an expression is a Date.

Syntax

      HB_IsDate( <expression> ) --> lIsDate

Arguments

<expression> an expression of any data type

Return

.T. (true) if the value returned by <expression> is of data type Date, otherwise .F. (false) is returned.

Description

HB_IsDate() is used to test if a variable contains a date value or if the result of an expression is of data type Date. The function can be used as a replacement for the expression: Valtype(<expression>)==”D”.

Seealso

HB_IsArray(), HB_IsBlock(), HB_IsByRef(), HB_IsDateTime(), HB_IsHash(), HB_IsLogical(), HB_IsMemo(), HB_IsNIL(), HB_IsNull(), HB_IsNumeric(), HB_IsObject(), HB_IsPointer(), HB_IsString(), Type(), Valtype()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.