Date and Time format

B

Bill Davis

I have data from an Oracle database that I have imported
into an Access Database. In the date field has the date
and the time MM/DD/YY HH:MM:SS. What is the easiest way
to remove the time from this field?
Thank you in advance
 
M

Michel Walsh

Hi,


SELECT TimeValue( DateTimeField ) FROM somewhere



Assuming you are using a native Jet table inside Access.



Hoping it may help,
Vanderghast, Access MVP
 
B

Bill Davis

Michel,
I am stupid when it comes do Access.. Now how do I
removed that data with deleting the whole row?
Thanks bill
 
K

Ken Snell

Create an update query. For the DateTimeField field, use this for the
"Update To:" value:
DateValue([DateTimeField])

That will convert the values to just date-containing values.
 
B

Bill Davis

Ken,
Thank you!!
-----Original Message-----
Create an update query. For the DateTimeField field, use this for the
"Update To:" value:
DateValue([DateTimeField])

That will convert the values to just date-containing values.

--
Ken Snell
<MS ACCESS MVP>

Michel,
I am stupid when it comes do Access.. Now how do I
removed that data with deleting the whole row?
Thanks bill wrote
in message


.
 
K

Ken Snell

You're welcome.

Bill Davis said:
Ken,
Thank you!!
-----Original Message-----
Create an update query. For the DateTimeField field, use this for the
"Update To:" value:
DateValue([DateTimeField])

That will convert the values to just date-containing values.

--
Ken Snell
<MS ACCESS MVP>

Michel,
I am stupid when it comes do Access.. Now how do I
removed that data with deleting the whole row?
Thanks bill
-----Original Message-----
Hi,


SELECT TimeValue( DateTimeField ) FROM somewhere



Assuming you are using a native Jet table inside Access.



Hoping it may help,
Vanderghast, Access MVP


in message
I have data from an Oracle database that I have
imported
into an Access Database. In the date field has the
date
and the time MM/DD/YY HH:MM:SS. What is the easiest
way
to remove the time from this field?
Thank you in advance



.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top