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 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Date Format" Watch "Date Format" New topic

Date Format

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303

I have a date like this:

2005-02-10T07:30:10 CET

How do I display this Date as Feb 10, 2005. Any code samples would help.

SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Joe Ess

Joined: Oct 29, 2001
Posts: 9191

The Java Tutorial has a chapter on Formatting Dates and Times that has plenty of examples.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Date Format
It's not a secret anymore!