Sponsored By
DataConverter
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
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
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
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
Hi Rajesh,

Hope this might help you,

SELECT CONVERT(VARCHAR(10),CONVERT(DATETIME,'21/02/1987',103),111)

Regards,
Shankar
Report Abuse Form
Reason:    
 
Total Online Users: 5571
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.