📄 6842.html
字号:
<html>
<head>
<title>Re: 一个有关VB日期指令的问题.</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 一个有关VB日期指令的问题.</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by Jack on October 29, 1998 at 00:04:43:<p>
In Reply to: <a href="6796.html">一个有关VB日期指令的问题.</a> posted by kkcheung on October 27, 1998 at 17:33:09:<p>
: 如有一个数值 19981010,加上45后,出来的结果不是19981055,<br>: 而是以日期的计算方式加上,答案是 19981125.<br>: 注:45=1个月15天.(希望大家可以明白我的意思,谢谢)<p>a = "19981010"<br>b = "45"<br>c = CDate(Format(a, "####/##/##"))<br>d = CDate(b)<br>Print c + d<p>这样应该可以吧?!<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 6842-->
</ul><!--end: 6842-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -