28 th Jun 2022 22:21:47
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
IsNumeric Function IsNumeric Function
IsEmpty Function IsEmpty Function
IsNull Function IsNull Function
IsArray Function IsArray Function
IsObject Function IsObject Function
VarType Function VarType Function
TypeName Function TypeName Function
Miscellaneous Functions Misc. Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

IsDate Function - Visual Basic 6.0 (VB 6.0)

Returns a Boolean value indicating whether an expression can be converted to a date.
Syntax:
IsDate(expression)
Parameter Description
expression Required. Can be any date expression or string expression recognizable as a date or time.
Return Data type:
Boolean
Example:

Dim vStr1 as String, vStr2 as String, vDt as Date, vInt as Integer, vBool as Boolean
Dim vArr(4, 3) as String, vSng as Single

vStr1 = "ABCD"
vStr2 = "1234"


Statement Result Remark
IsDate(1) False  
IsDate(vStr1) False  
IsDate(vStr2) False  
IsDate(vArr) False  
IsDate(vDt) True  
IsDate("January 01 2000") True  
IsDate("17/03/2007") True  
IsDate("1234abcd") False  
IsDate(vInt) False  
IsDate(vBool) False  
IsDate(vSng) False  
IsDate(unknown) False  
IsDate(True) False  
IsDate(False) False  
IsDate(null) False  
IsDate(0) False  
IsDate("abcd") False  
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  IsDate Function in VB Script (VBS)
  IsDate Function in JScript (JS)
  IsDate Function in ASP (Active Server Page)
  IsDate Function in PHP Script
  IsDate Function in MS-Access
  IsDate Function in MS SQL Server
  IsDate Function in Oracle
  IsDate Function in C Language
  IsDate Function in C++ Language
  IsDate Function in Foxpro
  IsDate Function in Fortran
  IsDate Function in MS Excel Sheet
Go to top
 





© 2021 Chennaiiq.com. All Rights Reserved.

5341