This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes apache axis program to return date as Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "apache axis program to return date as "YYYY-MM-DD"" Watch "apache axis program to return date as "YYYY-MM-DD"" New topic
Author

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

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 249
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:

 
Consider Paul's rocket mass heater.
 
subject: apache axis program to return date as "YYYY-MM-DD"