IsDate (AnyValue)

Name

IsDate(Any Value)

Syntax

IsDate (Any value)

Purpose

To check whether a given value represents a valid date.

Description

Returns true if the given value represents a valid date time value. Otherwise returns false.

Return Type

Boolean

Parameters

Value [System.Object] – Value to be checked

Example

In this example, we will pass a valid date parameter to the function transformation object using a Variables object.

Where,

value = 01/01/2001

In the output, you can see that the Boolean value, True, has been returned. This means the provided value represents a valid date.

Last updated

© Copyright 2023, Astera Software