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

Update Query Date String Problem

Status
Not open for further replies.

ebizleads

Technical User
Sep 14, 2005
57
US
I have the following being imported into my Date field. I need to pull the time out of this and only leave the date.

2005-09-20 16:10:05

How would I update this field to only:

2005-09-20

Thanks!
 
UPDATE yourTable SET [Date field]=Int([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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top