用VBSrcipt判断是否是日期


<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>
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3