Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Time conversion

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Time conversion

    Hi,

    I am developing one java application and getting data from webservice with parameter Time "HH:mm:ss.000Z" fromat.
    How do I convert Time "HH:mm:ss.000Z" from Time "HH:mm:ss" format using below line but getting same error for time.
    its auto generated type from wsdl.

    org.apache.axis.types.Time time=new org.apache.axis.types.Time("00:00:01");

    Thanks,
    Praveen


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,310
    My Mood
    Mellow
    Thanks
    194
    Thanked 669 Times in 656 Posts

    Default Re: Time conversion

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

    We're much better with standard Java SE classes, so you'll have to give us more info when using 3rd party libraries. You should always tell us what errors you are getting. Copy and paste them directly into the post.

Similar Threads

  1. Converting Military Time to Standard Time
    By GMPoison in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 30th, 2014, 12:28 AM
  2. Problem in getting time of different time zone
    By anks.coder in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 13th, 2013, 05:44 PM
  3. Using Date() to get Start Time and Finish Time of a copyFiles method
    By dalythe in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: June 17th, 2013, 09:50 PM
  4. Hello, first time caller long time programmer....
    By P2C2N in forum Member Introductions
    Replies: 3
    Last Post: December 10th, 2012, 10:53 AM
  5. Replies: 2
    Last Post: October 19th, 2012, 03:32 AM