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

Updating Date Field

Status
Not open for further replies.

ebizleads

Technical User
Sep 14, 2005
57
US
I have some values in my date field that include the time of the record...need to clean this up. Would like for the format to be:

MM/DD/YY

How would I update this field to do this?

Thanks,

EbizLeads
 
UPDATE yourTable
SET [your date field] = Int([your date field])

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Good (yet subtle) lesson on how date values are stored.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top