Is there a way to use the Now() function in SQL to select values with today\'s date?
Now()
I was under the impression Now() would contain the ti
If you have a table with just a stored date (no time) and want to get those by "now", then you can do this:
SELECT * FROM tbl WHERE DATEDIFF(d, yourdate, GETDATE())=0
This results in rows which day difference is 0 (so today).