Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Updated 21-May-13 2:34am
v2

In MSAccess you can use Now(). Date() provides the date and Time() provides the time
 
Share this answer
 
v2
Comments
Maciej Los 21-May-13 8:12am    
Yes!
+5
Now() provides date and time
Date() provides the date and
Time() provides the time
in ms access...
 
Share this answer
 
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
 
Share this answer
 
Comments
ErBhati 21-May-13 8:33am    
i use the query select date()..it gives the error
rmksiva 21-May-13 23:58pm    
Can you please show the error or show your full query ?!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900