Knowledgebase:
IsDateValue
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 16 July 2017 02:38 PM

Syntax

Public Function IsDateValue(expression As Variant) As Boolean

This function is used to return a boolean value indicating whether an expression is a valid date value.

Parameters

Key Description
expression An expression of type variant to be indicated if it a valid date or not.

Return value

Returns true if an expression is of the Date Type. Otherwise, it returns false.

Sample

Public Sub main()

AlertMessage IsDateValue("2/3/2016") 'Returns true. 

End Sub


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions