my dog learned polymorphism*
The moose likes Java in General and the fly likes Converting String to Date Object(mm/dd/yy) format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Converting String to Date Object(mm/dd/yy) format" Watch "Converting String to Date Object(mm/dd/yy) format" New topic
Author

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

Sachin Dere
Ranch Hand

Joined: Jan 14, 2003
Posts: 80
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

Joined: Jan 10, 2002
Posts: 60766
    
  65

Check out java.text.DateFormat and its ilk.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Especially SimpleDateFormat.


"I'm not back." - Bill Harding, Twister
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Converting String to Date Object(mm/dd/yy) format
 
Similar Threads
I need a date... No, really!
Difference between two Dates
Conversion of String to Date
Formatting Date Object
java Date questions