您的位置:首页 > 编程语言 > VB

用VBSrcipt判断是否是日期

2018-10-12 14:12 736 查看
<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>

您可能感兴趣的文章:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: