Difference between revisions of "IS DATE()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 30: Line 30:
 
[[Category:Expressions and Type Conversion]]
 
[[Category:Expressions and Type Conversion]]
 
[[Category:Expressions and Type Conversion Functions]]
 
[[Category:Expressions and Type Conversion Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Revision as of 07:31, 10 December 2012

Purpose

Function to check whether an expression is a date


Syntax

IS_DATE(<exp>)


See Also

IS_ARRAY(), IS_FLOAT(), IS_INT(), IS_LOGICAL(), IS_NUMERIC(), IS_OBJECT(), IS_STRING(), ISALPHA(), ISDIGIT(), ISLOWER(), ISUPPER(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, TYPE()


Description

The IS_DATE() function returns .T. (true) if the specified expression is a date value, otherwise .F. (false).


Example

> ? is_date(date())                                                             
.T.                                                                             
> ? is_date({12/12/2010})                                                       
.T.


Products

Lianja, Lianja Server