Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NOW and DATE-I'm confused

Status
Not open for further replies.

andybeeeeee

Programmer
Dec 9, 2002
17
GB
Hi all,

I'm doing a project in access. The database is of patients of a dentist surgery and part of it is an appointment system.

Part of my project is a query that shows the people that have an appointment today. In this query i have the patients name, the time of their appointment and the appointment date fields. I want it so that, when the query runs, it displays only todays appointments.

What function do i use for this? is it NOW or something else? any help would be great! thanks!
 
In your query you just need Appointment Date = Date()

Assuming your appointment date is of date type.

The difference between Date() and Now() is that Date() returns only the current date and Now() returns current Date and Time.

There are two ways to write error-free programs; only the third one works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top