从ms访问表中获取当前日期 [英] Get current date from ms access table

查看:55
本文介绍了从ms访问表中获取当前日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



i面临一个问题,从ms访问table.i使用date(),now.date()



任何更多的funcn.but我没有得到当前日期..在sql我们使用getdate(),但ms访问的语法是什么..





谢谢

解决方案

在MSAccess中你可以使用 Now() Date()提供日期和 Time()提供时间


Now()提供日期和时间

Date()提供日期和

Time()提供ms访问时间

...


您好,



查看此链接





http://www.fontstuff.com/access/acctut06.htm


这可能是区分大小写的问题。



试试这个,



从tblDemo中选择*其中Bdate = Date()





谢谢

Siva Rm ķ

hello everyone,

i face a problem to get current date from ms access table.i use date(),now.date()

any many more funcn.but i m not getting current date ..in sql we use getdate(),but what is the syntax for ms access..


thanks

解决方案

In MSAccess you can use Now(). Date() provides the date and Time() provides the time


Now() provides date and time
Date() provides the date and
Time() provides the time
in ms access...


Hi,

Check This Link


http://www.fontstuff.com/access/acctut06.htm

This may be Case sensitive problem.

Try this,

select * from tblDemo where Bdate = Date()


Thanks
Siva Rm K


这篇关于从ms访问表中获取当前日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆