Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要能够判断 4 小时前首次输入记录的时间,所以现在我将 datetime 字段的默认值设置为 Now(),有没有办法说:
如果 datetime > now() + 4 小时?
谢谢,
鲍勃·P
查看在线帮助主题DateAdd():
DateAdd()
If YourDateTimeValue > DateAdd("h", 4, Now()) Then