Archived

This topic is now archived and is closed to further replies.

[java] casting from string to calendar

This topic is 5042 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any way to take a string in the format of "26-mar-04" and make a calendar object out of it? thanks,

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Sure. Look at the java.text.SimpleDateFormat class...

Share this post


Link to post
Share on other sites