社区
ASP
帖子详情
help me!!!!急急急!!
txy6213054
2003-11-11 03:38:39
用Time函数获得当前时间后,怎么做时间的比较?比如说要判断当前时间是否在某个时间段内
...全文
33
7
打赏
收藏
help me!!!!急急急!!
用Time函数获得当前时间后,怎么做时间的比较?比如说要判断当前时间是否在某个时间段内
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
qqjj7758
2003-11-11
打赏
举报
回复
呵呵
Primer2002cn
2003-11-11
打赏
举报
回复
datediff函数
colee
2003-11-11
打赏
举报
回复
例:选择七天内记录
select * from com_news where cint(DateDiff('d',日期,date()))<7 order by id desc
arbeng2002
2003-11-11
打赏
举报
回复
楼上的做法可以吗?试一下吧,
jbj001
2003-11-11
打赏
举报
回复
datediff("s",#2003-1-1 16:30:20#,#2003-1-2 17:30:20#)可精确到秒.
奇玉
2003-11-11
打赏
举报
回复
将时间去掉冒号然后转换为4位整形的,再进行比较
例如当前时间3:04 判断是否在4:00与18:30之间
先转换
3:04-->0304
4:00-->0400
18:30->1830
然后判断0304是否在0400与1830之间。
jacklinchen
2003-11-11
打赏
举报
回复
datediff()
自己编辑的英语stem课程
Lesson 1 Excuse me! 对不起! Listen to the tape then answer this question. Whose handbag is it? 听录音,然后回答问题,这是谁的手袋? Excuse me! Yes? Is this your handbag? Pardon? Is this your ...
大模型应用开发入门(二)模型使用:用大模型+提示词做翻译、用大模型+Agent做计算器
I need to use a tool to
help
me answer the question. To solve the expression \(60 - (20 + (2 * 4))\) step by step, I will first calculate the multiplication inside the parentheses. Action: multiply ...
oracle resolve,Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决!...
急
急
急
@summer 回复 更多评论 # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决! 2012-08-01 17:02 | pyx61198 我的的环境配置也是这样的啊 F:\oracle\product\...
我在CSDN参与的3000个帖子
[
急
急
急
100分求教]高手进来瞧瞧,请教算法问题! 30: 【问】如何查找Zip包内部文件内容? 31: 回答问题被抗议,散分 32: 怎样求解一个四元方程组 33: ~~~~~~~~~~~~经典算法题,50分求答案 ...
python图书馆管理系统设计,千行代码带你学!
PyCharm # @CSDN : https://me.csdn.net/qq_45906219 from TeacherLogin import TeacherLogin from StudentLogin import StudentLogin from mysql_login import Mysql from Login import Login text = """ author: ...
ASP
28,407
社区成员
356,948
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章