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

how to covert strint to datetime

Status
Not open for further replies.

9654

Programmer
Aug 4, 2003
34
US
i am trying to convert a a string to datetime and i am having issues. has anybody faced this before?
 
What is the string? Easiest way is

select convert(datetime, "1 jan 2004")

Greg.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top