
February 4th, 2004, 03:19 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
date query
hi
I have a query to find people with a birthday in the next week, the dates in the db are in the format DD/MM.
How do i get the current date in the same format so i can compare them.
Heres what i have >>>
SELECT client.Title, client.[First Name], client.Surname, client.Addressline1, client.Addressline2, client.Addressline3, client.County, client.Postcode, client_event.[event type], client_event.[event date]
FROM client INNER JOIN client_event ON client.Client_ID = client_event.[client id]
WHERE (((client_event.[event date]) Between Date() And Date()+"7"));
|