aspose file tools
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 Head First Android this week in the Android 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
It is sorta covered in the JavaRanch Style Guide.
subject: Expiry date + format
It's not a secret anymore!