ifdate()

Read(221) Label: date, datetime,

Description:

Find whether the type of parameter is date or datetime.

Syntax:

ifdate(exp)

Note:

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

Parameters:

exp

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 functions:

iftime()