脚本专栏 
首页 > 脚本专栏 > 浏览文章

用VBSrcipt判断是否是日期

(编辑:jimmy 日期: 2024/10/18 浏览:3 次 )
<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>
上一篇:Stream、WshShell、WshUrlShortcut对象及Shell.Application的参数与使用
下一篇:防SQL注入的VBSrcipt代码