This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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
Have you checked out Aspose?
subject: Expiry date + format
jQuery in Action, 3rd edition