permaculture playing cards*
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
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: 61103
    
  66

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
 
wood burning stoves
 
subject: Converting String to Date Object(mm/dd/yy) format