Welcome to the VBscr ipt Language ReferenceThese handy blocks of information will help you explore the many different parts of the Visual Basic scr ipting language.You'll find all the parts of the VBscr ipt language listed alphabetically under the A
vb 判断字符串是否为日期或时间,在输入框输入任意字符串类型,程序将会判断出该字符串是否是时间字符串,这个判断方法VB员自带有函数,使用IsDate即可实现,下面是使用IsDate的简单用法示例: If IsDate(Text1) = True Then Text2.Text = "是日期" Else Text2.Text = "不是日期" End If 您也可以在本页下载完整的源码实例。