aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 245
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:

 
Don't get me started about those stupid light bulbs.
 
subject: apache axis program to return date as "YYYY-MM-DD"