DoubleBass
DoubleBass

Reputation: 1173

MS Access: How to strip time off a date field?

For example a value in a field might be

8/5/2010 11:18:22 AM

And I want to strip it down to

8/5/2010

It is a Date/Time field format

Upvotes: 5

Views: 21090

Answers (2)

user12295
user12295

Reputation: 29

Time is a decimal place so if you don't want time then update the field using:

round(number,NumDigitsAfterDecimal as long)

Upvotes: 0

DoubleBass
DoubleBass

Reputation: 1173

Solved the issue using DateValue()

Upvotes: 15

Related Questions