This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 760
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: 20048
    
  30

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


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

Joined: Dec 12, 2006
Posts: 760
heyyyy... thanks a lot...
 
Consider Paul's rocket mass heater.
 
subject: problem formatting date string
 
It's not a secret anymore!