6905.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行

HTML
23
字号
<html>
  <head>
    <title>日期验证原理</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>日期验证原理</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:Oscar@wfc.com.tw">Clipper</a> on October 30, 1998 at 13:08:12:<p>
In Reply to: <a href="6901.html">日期验证!!请教</a> posted by Gary Chen on October 30, 1998 at 12:00:52:<p>
: 请问如我在text1中输入1998/10/30或1998/10/32<br>: 请问我该如何去验证在text1中的资料是正确的日期<br>: 谢谢<p>简单, 原理如下:<br>? Format(DateSerial(1998,10,30),"yyyy/mm/dd") = "1998/10/30"<br>? Format(DateSerial(1998,10,32),"yyyy/mm/dd") = "1998/11/01"<br>照以上原理写一 Function 来 Check 即可<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 6905-->
</ul><!--end: 6905-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?