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

Parse Data

Status
Not open for further replies.

ITbeast

IS-IT--Management
Jul 25, 2006
67
US
Hello,

Does anyone know how I could use a query to parse a date field. I'm importing from another device that uses a long date like 8/17/2006 10:04AM, but all I want is the 8/17/2006 part

Is there a way to do this with SQL or should I use some other approach.

P.S. I would like to incorporate it in an append query that I already have
 
Code:
Select cDate(Int([LongDateField])) As [DateOnly], ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top