Sponsored By
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Article
Forum
Blog
Quiz
Beginner
Careers
Contact
Login
Email Id
Password
Remember Me
Forgot Password?
Sign Up
Home
|
Product
|
Services
|
About Us
|
Interview
|
DeveloperSection
|
Submit an Article
|
Submit Blog
Report Abuse Form
Reason:
Home
>>
Database
>>
MSSQL Server 2000/2005/2008/2012
>>
Problem in datetime formatting
Author
Post
Rajesh Goswami
Total Post:
29
Member Since:
10/19/2010
Points:
151
Problem in datetime formatting
Posted On:
8/12/2011 2:24:28 AM
Report Abuse
I want to convert datetime (which is value :08/08/2001 ) into 2001/08/08 .But i can not find any appropriate solution in sql server
give the solution of this problem
thanks in advance
Reply
Author
Post
Shankar M
Total Post:
25
Member Since:
2/9/2013
Points:
169
Re: Problem in datetime formatting
Posted On:
2/10/2013 9:34:09 PM
Report Abuse
Hi Rajesh,
Hope this might help you,
SELECT CONVERT(VARCHAR(10),CONVERT(DATETIME,'21/02/1987',103),111)
Regards,
Shankar
Reply
Report Abuse Form
Reason:
Total Online Users:
5571
Advertisement
Advertise with Us
Copyright ©
2013
MindStick. All Rights Reserved.
Home
|
Contact Us
|
Services
|
Feedback
|
Advertisement
|
Privacy Policy
|
Term & Conditions
|
About Us