This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

apache axis program to return date as "YYYY-MM-DD"

 
albert kao
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am maintaining a legacy apache axis 1.4 program on Windows 7.
The output is:
EffectiveDate Fri Mar 01 00:00:00 EDT 2013
How to make the apache axis to return date as "YYYY-MM-DD" (e.g. "2013-03-01")?
i.e. do not write a helper function which take java.util.Date (eg. "Fri Mar 01 00:00:00 EDT 2013") as input and return "YYYY-MM-DD" (e.g. "2013-03-01").

The program:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic