File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Expiry date + format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Expiry date + format" Watch "Expiry date + format" New topic

Expiry date + format

Imran Bhutta

Joined: Oct 31, 2004
Posts: 9
i just wanted to konw how you would format the Expiry Date in the Credit Card class to give you year/month/day?

Mark Patrick
Ranch Hand

Joined: Feb 22, 2004
Posts: 51
Look at class java.text.SimpleDateFormat.

Mark Patrick<br />SCJP 1.4
I agree. Here's the link:
subject: Expiry date + format
jQuery in Action, 3rd edition