Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting String to Date Object(mm/dd/yy) format

 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all JavaGurus,
Can anyone tell me how do i convert String to Date Object in mm/dd/yy format?I have looked at all the APIs without luck. PLease help as im stuck up with it. I need to insert the Date Object in mm/dd/yy format in SQL Server
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64712
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out java.text.DateFormat and its ilk.
hth,
bear
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Especially SimpleDateFormat.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic