ifdate()

Read(3060) Label: date, datetime,

Description:

Find whether the specified data is date or datetime type.

Syntax:

ifdate(exp)

Note:

The function finds whether the type of parameter exp is date or datetime.

Parameter:

exp

An expression of any data type

Return value:

Boolean value

Example:

ifdate("2006-10-10")

false

ifdate(date("2006-10-10"))

true

ifdate(date("2006-10-10 10:20:30"))

true

ifdate("20061010")

false

ifdate("10:20:30")

false

Related function:

iftime()