IS DATE()

From Recital Documentation Wiki
Jump to: navigation, search

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

Recital, Recital Server