用VBSrcipt判断是否是日期
更新时间:2007年03月09日 00:00:00 作者:
<SCRIPT LANGUAGE="vbScript">
<!--
'判断是否是日期
function thisdate(dt)
if not IsDate(dt) then
thisdate=false
elseif int(left(dt,4))<int(1750) then
thisdate=false
else
thisdate=true
end if
end function
//-->
</SCRIPT>
<!--
'判断是否是日期
function thisdate(dt)
if not IsDate(dt) then
thisdate=false
elseif int(left(dt,4))<int(1750) then
thisdate=false
else
thisdate=true
end if
end function
//-->
</SCRIPT>
相关文章
vbs SendKey 用法 Sendkey 键盘对应的码表
简单说,这个命令就是模拟键盘操作,将一个或多个按键指令发送到指定Windows窗口来控制应用程序运行2009-04-04
VBS中InStrRev函数的第三个参数(Start)使用注意事项
这篇文章主要介绍了VBS中InStrRev函数的第三个参数(Start)使用注意事项,它是从开始第N个字符开始搜索的,需要的朋友可以参考下2014-07-07


最新评论