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!

sql server 2000 formatting date 1

Status
Not open for further replies.

pssheba

Programmer
Oct 22, 2004
87
IL
Hi !
I'm having a "dateTime" column in a table.
In order to get rid of "time", I transform it to a Varchar and then read 10 first characters only.
But now i need the date to be in the format of: "dd/mm/yyyy" rather then its' contemporary format which is: "mm/dd/yyyy".
Could anyone tell me please how to do this ?
Thanks a lot !
 
Code:
SET DATEFORMAT MDY


Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top