code: public void changeModificationTime(int year, int month, int day, int hour, int min, int sec, String file)
          throws IOException, ServerException {
              DecimalFormat df2 = new DecimalFormat("00");
              DecimalFormat df4 = new DecimalFormat("0000");
  
              String arguments = df4.format(year) + df2.format(month) + df2.format(day) +
                                 df2.format(hour) + df2.format(min) + df2.format(sec) + " " + file;
              Command cmd = new Command("SITE UTIME", arguments);
  
              try {
                  controlChannel.execute(cmd);
              }catch (UnexpectedReplyCodeException urce) {
                  throw ServerException.embedUnexpectedReplyCodeException(urce);
              } catch (FTPReplyParseException rpe) {
                  throw ServerException.embedFTPReplyParseException(rpe);
              }
      }
docs: Change the modification time of a file.
  
  @param year      Modifcation year
  @param month     Modification month (1-12)
  @param day       Modification day (1-31)
  @param hour      Modification hour (0-23)
  @param min       Modification minutes (0-59)
  @param sec       Modification seconds (0-59)
  @param file      file whose modification time should be changed
  @throws IOException
  @throws ServerException if an error occurred.