Date Format

Hi,Did anyone know how to format the date from 2006Aug18 to 08/18/2006 ?I appreciate it.Thanks.
[123 byte] By [yuenyuena] at [2007-11-26 15:24:40]
# 1

Dates don't have formats. They are just values representing a date. The stuff you are talking about is the formatted string representation of a date value. For that you'd make proper usage of the SimpleDateFormat class. I assume you know how to look up that class in the Javadoc and read it.

warnerjaa at 2007-7-8 21:40:12 > top of Java-index,Java Essentials,New To Java...
# 2
See SimpleDateFormat: http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.htmlPattern something like:"yyyyMMMdd"and"MM/dd/yyyy"
jbisha at 2007-7-8 21:40:12 > top of Java-index,Java Essentials,New To Java...
# 3
Thanks for not coming back to say a simple "thank you" nor to award the dukes. They say ignorance is bliss, but I don't think they mean "being an ignorant twit" is bliss.
warnerjaa at 2007-7-8 21:40:12 > top of Java-index,Java Essentials,New To Java...