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!

dATE PART 1

Status
Not open for further replies.

JazzMaan

Programmer
Jun 15, 2004
57
US
I have date in the format of '6/1/2005 2:00:00 PM'

and

I would like to convert it to '6/1/2005'.

Is there any function available to do this ??
 
CONVERT(char(10),MyDate,101)

Note: 101 is the American style of reading a date, not European.



Catadmin - MCDBA, MCSA
"If a person is Microsoft Certified, does that mean that Microsoft pays the bills for the funny white jackets that tie in the back???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top