This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes problem formatting date string 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 » Beginning Java
Bookmark "problem formatting date string" Watch "problem formatting date string" New topic
Author

problem formatting date string

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
Hi i am trying format the dateString in the pattern given in SimpleDateFormat but i am not able to format it.

Can anybody help me out with this ???



Jigar Naik


Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

You'll need a different (Simple)DateFormat for parsing:


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
heyyyy... thanks a lot...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem formatting date string
 
Similar Threads
How to get tomorrow's date?
Formatting the date
Timezone Coneversion Problem
java.util.Date problem
How to use DateFormat