"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Prime wrote:If you read my post (again?) you should be able to do it. You already found a very good DateFormat subclass (SimpleDateFormat). Find the right pattern to create an instance. Use the parse method (I have given you that word for free before).
Using the other class from my post you should now be able to finish this.
Eduardo Yañez Parareda wrote:First take a look at javadoc of SimpleDateFormat
It gives you an example to do what you need. Also I'll give you a clue... mm/dd/yyyy ... 'mm' no way!
akhter wahab wrote:hello i wrote a program that accept date formate like DD/MM/YYYY in a String
akhter wahab wrote:but its giving me wrong output of date
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Wouter Oet wrote:Just to use the quote:
Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems. --"Jamie Zawinski
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
akhter wahab wrote:
Eduardo Yañez Parareda wrote:First take a look at javadoc of SimpleDateFormat
It gives you an example to do what you need. Also I'll give you a clue... mm/dd/yyyy ... 'mm' no way!
i solve my problem using regex but not reached at any solution using java![]()
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions