File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Date Format ,Please help! 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 » Java in General
Bookmark "Date Format ,Please help!" Watch "Date Format ,Please help!" New topic

Date Format ,Please help!

Srihari Injeti
Ranch Hand

Joined: Jan 05, 2001
Posts: 31
I have to format dates returned from the database to mm/dd/yyyy
I know that DateFormat.SHORT gives mm/dd/yy without a leading 0 for single digit days or months.
Is there a FORMAT I can use for formatting it as mm/dd/yyyy.
Please help. It's urgent!!

Srihari Injeti<BR>SCJP2 MCP CIW
Frank Carver

Joined: Jan 07, 1999
Posts: 6920

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Srihari Injeti
Ranch Hand

Joined: Jan 05, 2001
Posts: 31
It is sorta covered in the JavaRanch Style Guide.
subject: Date Format ,Please help!
Similar Threads
date format in java
Date Format
Get the Date Format of particular country using country code
Date Problem
date format