The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Cannot figure out how to code this...

Write a program that converts date formats from American Format: “September 10, 2012” to International Format; - such as "2012-September-10”.
Im also confused as to if he is asking for the date input and then to reformat it into international, or to just take the american formatted date and convert it to international format.
Any help would be much appreciated!!

Re: Cannot figure out how to code this...

I think the coding really depends on what "he" is asking for. I think you should ask for clarification from that person yourself but you could try programming them both ways for the extra practice. For example, you could write a program that takes a list of (or a) given date(s) and convert it. You could also try to write another that converts inputted dates.