aspose file tools
The moose likes Java in General and the fly likes how to convert String into Date format Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "how to convert String into Date format" Watch "how to convert String into Date format" New topic
Author

how to convert String into Date format

VGR VIJAY
Greenhorn

Joined: Mar 02, 2006
Posts: 1
How to convert a string into a date format with date and time.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

"date format"? Do you mean a Date object? If so, look at java.text.DateFormat and its various parse methods.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ankur Sharma
Ranch Hand

Joined: Dec 27, 2005
Posts: 1234
You should specify that in which format you are giving me the string then I can suggest you some method or function. But at least from your site I need that in which format you are specifying the String. Because there are so many format for Date . Now that depends on you in which format you need the date.


The Best way to predict your future is to create it
Ankur Sharma
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to convert String into Date format
 
Similar Threads
String to Date?
Get the Difference between 2 dates
conversion
String conversion
How to convert String to EBCIDC format