How can I get the records from a db where created date is today’s date?
SELECT [Title], [Firstname], [Surname], [Company_name], [Interest]
FROM [dbo].[EXTRANET_users]
WHERE DATE(Submission_date) = DATE(NOW())
This doesn’t work im using sql server 2000 and submission date is a date time field
Looks like you’re using SQL Server, in which case
GETDATE()orcurrent_timestampmay help you. But you will have to ensure that the format of the date with which you are comparing the system dates matches (timezone, granularity etc.)e.g.