code: private static int getInstanceAge(Instance myInstance) {
          Date launchDate = myInstance.getLaunchTime();
          long diffInMillies = System.currentTimeMillis() - launchDate.getTime();
          return (int) TimeUnit.DAYS
                  .convert(diffInMillies, TimeUnit.MILLISECONDS);
      }
docs: /* Gets the age in days of an instance