Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共8 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:这个函数怎么测试,这样测试报错

1楼
xxfoxtable 发表于:2024/11/11 9:13:00
Dim a As Date = #08/11/2024#
Dim b As Integer = DateDiff('d',date(),a)
msgbox(b)
2楼
有点蓝 发表于:2024/11/11 9:20:00
Dim a As Date = #08/11/2024#
Dim b As Integer = DateDiff("d", New Date(), a)
msgbox(b)
3楼
xxfoxtable 发表于:2024/11/11 11:42:00

图片点击可在新窗口打开查看此主题相关图片如下:5.png
图片点击可在新窗口打开查看
这样提示,对吗?
4楼
有点蓝 发表于:2024/11/11 11:49:00
https://blog.51cto.com/u_16099314/6377869
5楼
xxfoxtable 发表于:2024/11/11 12:11:00
这天数也不对呀
6楼
有点蓝 发表于:2024/11/11 13:29:00
多少才对?
7楼
xxfoxtable 发表于:2024/11/11 14:51:00
不应该是三天吗?
8楼
有点蓝 发表于:2024/11/11 14:56:00
建议花时间学学编程基础

Dim a As Date = #11/08/2024#
Dim b As Integer = DateDiff("d", a, Date.Today)
msgbox(b)
共8 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02344 s, 2 queries.