Extract Date from Timestamp

joeserrone

The cat of the cul-de-sac
Local time
Today, 17:03
Joined
Dec 17, 2006
Messages
164
I have a timestamp field in a database and only want to display the Date. In the query I placed this: Date Received: Format([RItemTimeStamp],"Short Date")

Works fine however if I try to run a query to serach for a date range it doesn't give me all the days. Is there a better way how to truncate the Date of a timestamp so that I can sort it correctly?
 
You could try the datevalue([RItemTimeStamp]) function.
 

Users who are viewing this thread

Back
Top Bottom