code: private long parseTime(String day, String hours)
      {
          DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
          Date utcDate = new Date();
          try {
              utcDate = format.parse(day.concat(" " + hours));
          } catch (Exception e) {
  
          }
          return utcDate.getTime();
      }
docs: Time comes in following format: 08-11 20:03:17.182:
  Parse into milliseconds
  @param day string of format 08-11
  @param hours string of format 20:03:17.182:
  @return