The Artima Developer Community
Sponsored Link

Java Answers Forum
Conversion from String to Date??

1 reply on 1 page. Most recent reply: Jun 18, 2008 7:24 AM by George B

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
zo2 zo2

Posts: 2
Nickname: zo2zo2
Registered: Jun, 2008

Conversion from String to Date?? Posted: Jun 17, 2008 4:14 PM
Reply to this message Reply
Advertisement
Hello,

How can I convert from a String to a Date format??
Is this possible?

Thanks.


George B

Posts: 24
Nickname: hmgeorge
Registered: Feb, 2008

Re: Conversion from String to Date?? Posted: Jun 18, 2008 7:24 AM
Reply to this message Reply
The parse() method of SimpleDateFormat can do it. You can see some examples here: http://javatechniques.com/blog/dateformat-and-simpledateformat-examples/

Flat View: This topic has 1 reply on 1 page
Topic: how to extract  the date n time from images Previous Topic   Next Topic Topic: Some help with my task.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use