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

[b]Formatting a field from Date to Text using a query[/b] 1

Status
Not open for further replies.

belstoy

Technical User
May 31, 2005
37
US
I am trying to take a date format and convert it into text using a query. I have an automated process which sends an excel file out when done. The date format in the excel file is appearing as "00-Jan-00".

Any thoughts?
Belstoy

 
Date_String: CStr([Your_Date])

SQL:
Code:
SELECT CStr(t.[Your_Date]) as Date_String
FROM Your_Table as t;

Maybe that is what you're looking for?


~Melagan
______
"It's never too late to become what you might have been.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top