Hi, I have a column in SQL actually, assuming the commands would be the same in Access. I have a Created Date field and its Date and Time.
I have my basic query
Select * FROM DATABASE name
[Column Names],
[Column Names],
[Column Names],
[Created Date]
How do I write the query to format the date as Date without the time using
a) select DATEADD(dd, DATEDIFF(dd, 0, getdate()), 0)
or
CAST(FLOOR(CAST(getdate() AS FLOAT)) AS DATETIME)
??
I have my basic query
Select * FROM DATABASE name
[Column Names],
[Column Names],
[Column Names],
[Created Date]
How do I write the query to format the date as Date without the time using
a) select DATEADD(dd, DATEDIFF(dd, 0, getdate()), 0)
or
CAST(FLOOR(CAST(getdate() AS FLOAT)) AS DATETIME)
??