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 4 of 4

Thread: change the time from getModificationTime (apache api) to utc+3

  1. #1
    Member
    Join Date
    Sep 2019
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default change the time from getModificationTime (apache api) to utc+3

    FTPClient ftpClient = ftpLogin(ftpIp, ftpUser, ftpPass);
    			String time = ftpClient.getModificationTime(filePath);
      	        ftpClient.logout();
      	        ftpClient.disconnect();

    i dont care for now the format, just the time (now its like 2.5-3 hours less then my zone time israel utc +3)

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: change the time from getModificationTime (apache api) to utc+3

    Is there a forum for questions about the apache API code? Have you tried asking the question there?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member
    Join Date
    Sep 2019
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: change the time from getModificationTime (apache api) to utc+3

    Quote Originally Posted by Norm View Post
    Is there a forum for questions about the apache API code? Have you tried asking the question there?
    no i didnt know, can you move my question to this apachi forum ?

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: change the time from getModificationTime (apache api) to utc+3

    This is as close as there is on this forum.

    What does the API doc for that method say?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 2
    Last Post: June 9th, 2014, 04:06 PM
  2. Converting Military Time to Standard Time
    By GMPoison in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 30th, 2014, 01:28 AM
  3. how to change DB design for a change in java
    By harry7ster in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 7th, 2013, 12:57 PM
  4. 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
  5. apache tomcat don't respond afer some time
    By Ehsan ulhaq Dar in forum Web Frameworks
    Replies: 0
    Last Post: June 4th, 2013, 07:14 AM