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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get date only from DateTime. 1

Status
Not open for further replies.

ChrisCalvert

Technical User
Mar 18, 2002
231
US
Hello:

I have what I thought would be a simple problem, but I cannot find an answer so far. I am trying to run a query on a table with a datetime field. I just want my resulting table to have the date (for purposes of counting).
Does anyone know how this can be done. I thought Date([Timestamp]) would be it, but that requires three variables.
 
Use DateValue([YourExpression]) to return only the date part of a datetime value.

Duane
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top