wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 8839

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

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
wood burning stoves
subject: Date Format
Similar Threads
Doubt K&B SCJP 5 pg. 440 File Creation
checking for dates
Convert a date
date range calculations
How to Ping Multiple Servers