Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Expiry date + format

 
Imran Bhutta
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i just wanted to konw how you would format the Expiry Date in the Credit Card class to give you year/month/day?

thanks
 
Mark Patrick
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at class java.text.SimpleDateFormat.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic